Improved / alternative 'outline' style for QBtnToggle #17831
Unanswered
dsl101
asked this question in
Ideas / Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've always had a hard time styling QBtnToggle to both match other QBtn styles, and provide good UI feedback on the options. This is what I'd like it to look like:

Which I think looks good next to ordinary
outline
d buttons, but still makes it really clear what the toggle options are, and which one is currently selected. I couldn't find any way to do this using the existing attributes for QBtnToggle. To get this, I used the following:Just using

outline
, it looks like this:No clear indication of the selected option, and no visual delineation between options (even worse when
dense
). The 'ALL' option is selected here, but the primary colour is quite dark, and so lost against the grey alternative options.I'd be happy if
outline
was changed to match my earlier workaround, but understand that might break other existing uses, so perhaps anoutline-all
orseparated
, which outlined each individual button, and I don't know whether another attribute is needed to 'invert' the active button—I guess that could just be done with thetoggle-*
attributes, but again it needs lots of extra template code to achieve what I think should be the default.Beta Was this translation helpful? Give feedback.
All reactions