Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Add support for horizontal CheckButtons#27946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
b58dc7d
tof92a95f
Comparef92a95f
to873a3d8
CompareA new optional keyword argument 'layout_direction' is introduced tocontrol it. The new parameter defaults to 'vertical' for backwardscompatibility.
I assume the reason for implementing it that way was that it was easier to implement. The latter requires accounting for the text width before placing the markers, while the former just places them equidistantly. |
873a3d8
to9a5eb5b
CompareYou could still place equidistantly with text right of the buttons. The possible overlap issues are the same, except that you have a constant reserved space for the buttons. |
PR summary
This is a followup to#13374, but for
CheckButtons
. Also updates the test image to check both options.Feel free to review after#13374 or as a group. This is built on top of that one, so merging this would merge that as well.
PR checklist