Asking clarification about a documentation section
-
I was reading through the documentation about default icons and how can they be customized, though no examples were provided and tried what little the documentation provides (use the size-icon property) but to no avail, can anyone point out if this section still works and an example in pyqt if possible. Thanks
-
What's wrong with the example given in the documentation?
QMessageBox { dialogbuttonbox-buttons-have-icons: true; dialog-ok-icon: url(ok.svg); dialog-cancel-icon: url(cancel.png), url(grayed_cancel.png) disabled; } -
I was reading through the documentation about default icons and how can they be customized, though no examples were provided and tried what little the documentation provides (use the size-icon property) but to no avail, can anyone point out if this section still works and an example in pyqt if possible. Thanks
@rida_zouga hi,
What exactly did you try ?
-
@rida_zouga hi,
What exactly did you try ?
@SGaist honestly just this
QSpinBox ::up-arrow { icon: url(uparrow-icon); icon-size: 20px; }because in the documentation there is this table with name for each Standard icon used by qt and wanted to change its size, but not working, since I just want to change for example size of QStyle::SP_ArrowUp.
-
What's wrong with the example given in the documentation?
QMessageBox { dialogbuttonbox-buttons-have-icons: true; dialog-ok-icon: url(ok.svg); dialog-cancel-icon: url(cancel.png), url(grayed_cancel.png) disabled; }@Christian-Ehrlicher didn't seen that at first but was wondering about the table containing all default icons and their names and changing their size.