Fix padding on toolbuttons with menu button popup

Fixes #795
This commit is contained in:
Jonas Kvinge
2022-01-08 13:10:48 +01:00
parent 709ba72777
commit 4cde9a7e9e
5 changed files with 44 additions and 24 deletions

View File

@@ -54,6 +54,12 @@
<height>0</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QToolButton, QToolButton:hover, QToolButton:pressed {
padding-right: 16px;
}
</string>
</property>
<property name="iconSize">
<size>
<width>16</width>
@@ -61,7 +67,7 @@
</size>
</property>
<property name="popupMode">
<enum>QToolButton::InstantPopup</enum>
<enum>QToolButton::MenuButtonPopup</enum>
</property>
<property name="autoRaise">
<bool>true</bool>
@@ -231,7 +237,7 @@
<x>0</x>
<y>0</y>
<width>398</width>
<height>518</height>
<height>520</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">