Open isf63 opened 2 months ago
liblxqt uses QDialogButtonBox which itself uses QPushButton.
Re:
and fixes text/icon alignment (for example on Fusion.)
QToolButton has different (and in my opinion, worse) styling than QPushButton.
fixes text/icon alignment
I'm afraid there's nothing to fix. It's like saying, "Don't use tabs because they look ugly with Fusion."
QToolButton is styled differently in most Qt styles. Logically dialog buttons should be consistently QPushButton as that is what liblxqt uses.
IMO, in no way should a code avoid using a widget because of how it's drawn by this or that Qt style.
Apart from that, it simplifies the Designer UI and makes consistent use of QPushButton in dialog boxes. No functional changes other than its drawing by Qt styles.
I think these benefits are pretty uncontroversial.
Change the "Settings" dialog button to a QPushButton. This simplifies the Designer UI file and fixes text/icon alignment (for example on Fusion.)