Update stylesheet to use property name for popupMode on QToolButton
This commit is contained in:
parent
bf8374ff9f
commit
29235c5fa6
|
@ -37,33 +37,25 @@ QToolButton {
|
|||
padding: 1px;
|
||||
}
|
||||
|
||||
QToolButton::menu-button {
|
||||
width: 16px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
QToolButton[popupMode="1"] {
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
QToolButton:hover {
|
||||
border: 2px solid %palette-highlight;
|
||||
background-color: %palette-highlight-lighter;
|
||||
}
|
||||
|
||||
QToolButton:hover[popupMode="1"] {
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
QToolButton:pressed {
|
||||
border: 2px solid %palette-highlight-darker;
|
||||
background-color: %palette-highlight-lighter;
|
||||
}
|
||||
|
||||
QToolButton:pressed[popupMode="1"] {
|
||||
QToolButton[popupMode="MenuButtonPopup"], QToolButton:hover[popupMode="MenuButtonPopup"], QToolButton:pressed[popupMode="MenuButtonPopup"] {
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
QToolButton::menu-button {
|
||||
width: 16px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
macos {
|
||||
font-size: 11pt;
|
||||
}
|
||||
|
@ -71,4 +63,3 @@ macos {
|
|||
macos QMenu {
|
||||
font-size: 13pt;
|
||||
}
|
||||
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="options">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">padding-right: 16px;
|
||||
</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>16</width>
|
||||
|
|
|
@ -151,9 +151,6 @@
|
|||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">padding-right: 16px;</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>32</width>
|
||||
|
|
|
@ -87,10 +87,6 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="view">
|
||||
<property name="styleSheet">
|
||||
<string notr="true">padding-right: 16px;
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>View</string>
|
||||
</property>
|
||||
|
|
|
@ -54,10 +54,6 @@
|
|||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">padding-right: 16px;
|
||||
</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>16</width>
|
||||
|
@ -235,7 +231,7 @@
|
|||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>398</width>
|
||||
<height>520</height>
|
||||
<height>518</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_5">
|
||||
|
|
Loading…
Reference in New Issue