https://bugs.kde.org/show_bug.cgi?id=377173
Bug ID: 377173
Summary: QTabWidget & QTabBar have different spacing in
document mode between tabbar and controlled container
view
Product: Breeze
Version: 5.9.0
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: QStyle
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 104348
--> https://bugs.kde.org/attachment.cgi?id=104348&action=edit
main.cpp, for demoing the difference
When using both a stock QTabWidget and a self-made variant of such a widget
(e.g. when creating pages only on the fly) using QTabBar, and doing that with
both versions using the documentMode*, the padding between the tabbar
separation line and the page is inconsistent, other than expected.
See attached demo app for the inconsistency.
Of course it could be questioned who should be responsible to ensuring the
padding between a QTabBar and the container view it is controlling.
In Oxygen style the QTabBar even has a greater padding between bar separation
line and widget border, so the concept of having the padding as part of the
qtabbar seems acceptable, and might not come as such a surprise?
* See
https://doc.qt.io/qt-5/qtabwidget.html#documentMode-prop
https://doc.qt.io/qt-5/qtabbar.html#documentMode-prop
--
You are receiving this mail because:
You are watching all bug changes.