set menu-indicator for the menu Button, subcontrol-position bottom right

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1675 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2009-09-23 12:37:53 +00:00
parent 093dcd8d49
commit 9c26be5bdb

View File

@ -562,6 +562,17 @@ p, li { white-space: pre-wrap; }
<property name="toolTip">
<string>Add</string>
</property>
<property name="styleSheet">
<string notr="true">QPushButton::menu-indicator {
subcontrol-origin: padding;
subcontrol-position: bottom right;
}
QPushButton::menu-indicator:pressed, QPushButton::menu-indicator:open {
position: relative;
top: 2px; left: 2px; /* shift the arrow by 2 px */
}</string>
</property>
<property name="text">
<string/>
</property>
@ -575,6 +586,9 @@ p, li { white-space: pre-wrap; }
<height>16</height>
</size>
</property>
<property name="default">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>