Hi All,
I'm trying to go outside combo box frame with this (see below) CSS Qt style sheet code.
combo-box-trouble.png
All success except padding, you can see it on picture ( figure 3 ).
Any suggestion ?
Thank you
p.s
How to reproduce: http://pastebin.com/4ZiYRUmB
Qt Code:
QComboBox#tab_combo { margin: 0 26px 0 0; /* make room for the arrow */ padding: 2px 1px 2px 1px; min-width: 19px; min-height: 14px; max-height: 14px; width: 40px; height: 14px; //...strip } QComboBox#tab_combo::drop-down { subcontrol-origin: margin; subcontrol-position: center right; width: 19px; min-width: 19px; max-width: 19px; height: 14px; min-height: 14px; padding: 0; margin: 0; border: 1 solid #515151; } QComboBox#tab_combo::down-arrow { image: url(:/combo_arrow.png); min-width: 19px; max-width: 19px; width: 19px; min-height: 14px; max-height: 14px; height: 14px; }To copy to clipboard, switch view to plain text mode
Bookmarks