How I can make QTabWidget tab page position centralized as in mac os x ?
-
Hi,
When I create QTabWidget with tabs tabs shown on the central but in ubuntu they are not centralised . I cant make it .
Is there any solution ?
-
Hi,
When I create QTabWidget with tabs tabs shown on the central but in ubuntu they are not centralised . I cant make it .
Is there any solution ?
@rahibemeryem Why do you want to change the default behaviour of the platform? It is better to stick to platform defaults to not to disturb your users.
-
@jsulm if there is no trivial way yes you right . I just wonder did I miss some configuration.
Best
-
@jsulm if there is no trivial way yes you right . I just wonder did I miss some configuration.
Best
@rahibemeryem Look for QTabWidget in https://doc.qt.io/qt-5/stylesheet-reference.html
-
There is an example in the docs for this: https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar
QTabWidget::tab-bar { alignment: center; }