View Full Version : how i want flat Drop-down Button for ComboBox ?
pavanbarot
4th September 2010, 12:43
hi please help me with style sheet for combo box down buton...
i need flat button please give me style sheet..
Thank's...
yogeshgokul
4th September 2010, 15:21
Try following style sheet, this is not perfect though you can give on shot to it.
QComboBox::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
width: 15px;
border-left-width: 1px;
border-left-color: darkgray;
border-left-style: solid; /* just a single line */
border-top-right-radius: 3px; /* same radius as the QComboBox */
border-bottom-right-radius: 3px;
}
pavanbarot
7th September 2010, 06:50
Finally i done with style sheet like below:
QComboBox::drop-down:button{
background-color: rgb(234,234,234);
}
for all drop-down button like (QDateTime, QComboBox.....etc)
*::drop-down:button{
background-color: rgb(234,234,234);
}
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.