I want to achieve this effect (button group) #4276
Replies: 2 comments 1 reply
-
It is not something that we have implemented yet, no. Either open a feature request or create your own custom widget. It should definitely be doable, especially now with rounded rectangles being supported. |
Beta Was this translation helpful? Give feedback.
-
I did something like this as a custom widget for Supersonic implemented by packing builtin Button widgets together with no padding and using the Importance property to highlight one: https://github.com/dweymouth/supersonic/blob/main/ui/widgets/togglebuttongroup.go It won't work well with rounded rectangles so I plan on trying to make a proper SegmentedButton widget as part of migrating Supersonic to Fyne 2.4.x (which hasn't been done yet) |
Beta Was this translation helpful? Give feedback.
-
Is there any reference plan?
Beta Was this translation helpful? Give feedback.
All reactions