On second inspection that will style the up/down control when the date edit does not have a popup calendar. The button controlling the popup calendar is styled like the QComboBox drop-down sub-control. This give some control:
border: 1px solid gray;
border-radius: 3px;
padding: 1px 18px 1px 3px;
min-width: 6em;
}
subcontrol-origin: padding;
subcontrol-position: top right;
width: 15px;
border-left-width: 1px;
border-left-color: red;
border-left-style: solid;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
)
QDateEdit {
border: 1px solid gray;
border-radius: 3px;
padding: 1px 18px 1px 3px;
min-width: 6em;
}
QDateEdit::drop-down {
subcontrol-origin: padding;
subcontrol-position: top right;
width: 15px;
border-left-width: 1px;
border-left-color: red;
border-left-style: solid;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
)
To copy to clipboard, switch view to plain text mode
Bookmarks