Align QMenu icon and indicator.
Align the icon size and positioning of `QMenu::icon` (the icon for custom elements) and `QMenu::indicator` (the checkbox for selected/unselected items). This renders the two visually consistent. Closes #64.main
parent
f46df07615
commit
aa6a420bdc
13677
breeze_resources.py
13677
breeze_resources.py
File diff suppressed because it is too large
Load Diff
|
@ -327,8 +327,11 @@ QMenu::item:disabled
|
||||||
|
|
||||||
QMenu::indicator
|
QMenu::indicator
|
||||||
{
|
{
|
||||||
width: 1em;
|
width: 0.8em;
|
||||||
height: 1em;
|
height: 0.8em;
|
||||||
|
/* To align with QMenu::icon, which has a 0.23em margin. */
|
||||||
|
margin-left: 0.3em;
|
||||||
|
subcontrol-position: center left;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator:non-exclusive:unchecked
|
QMenu::indicator:non-exclusive:unchecked
|
||||||
|
|
|
@ -327,8 +327,11 @@ QMenu::item:disabled
|
||||||
|
|
||||||
QMenu::indicator
|
QMenu::indicator
|
||||||
{
|
{
|
||||||
width: 1em;
|
width: 0.8em;
|
||||||
height: 1em;
|
height: 0.8em;
|
||||||
|
/* To align with QMenu::icon, which has a 0.23em margin. */
|
||||||
|
margin-left: 0.3em;
|
||||||
|
subcontrol-position: center left;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator:non-exclusive:unchecked
|
QMenu::indicator:non-exclusive:unchecked
|
||||||
|
|
|
@ -327,8 +327,11 @@ QMenu::item:disabled
|
||||||
|
|
||||||
QMenu::indicator
|
QMenu::indicator
|
||||||
{
|
{
|
||||||
width: 1em;
|
width: 0.8em;
|
||||||
height: 1em;
|
height: 0.8em;
|
||||||
|
/* To align with QMenu::icon, which has a 0.23em margin. */
|
||||||
|
margin-left: 0.3em;
|
||||||
|
subcontrol-position: center left;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator:non-exclusive:unchecked
|
QMenu::indicator:non-exclusive:unchecked
|
||||||
|
|
|
@ -327,8 +327,11 @@ QMenu::item:disabled
|
||||||
|
|
||||||
QMenu::indicator
|
QMenu::indicator
|
||||||
{
|
{
|
||||||
width: 1em;
|
width: 0.8em;
|
||||||
height: 1em;
|
height: 0.8em;
|
||||||
|
/* To align with QMenu::icon, which has a 0.23em margin. */
|
||||||
|
margin-left: 0.3em;
|
||||||
|
subcontrol-position: center left;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator:non-exclusive:unchecked
|
QMenu::indicator:non-exclusive:unchecked
|
||||||
|
|
|
@ -327,8 +327,11 @@ QMenu::item:disabled
|
||||||
|
|
||||||
QMenu::indicator
|
QMenu::indicator
|
||||||
{
|
{
|
||||||
width: 1em;
|
width: 0.8em;
|
||||||
height: 1em;
|
height: 0.8em;
|
||||||
|
/* To align with QMenu::icon, which has a 0.23em margin. */
|
||||||
|
margin-left: 0.3em;
|
||||||
|
subcontrol-position: center left;
|
||||||
}
|
}
|
||||||
|
|
||||||
QMenu::indicator:non-exclusive:unchecked
|
QMenu::indicator:non-exclusive:unchecked
|
||||||
|
|
Loading…
Reference in New Issue