You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe:
Well there may be more reason than one but what brought this to my attention was the inability to add a new line to the label of the button.
Is it possible to construct a solution with the existing API?
Yes. It should be a relatively simple change. I might even be able to implement it (very poorly).
Describe the solution you'd like to see:
I would like to be able to pass a widget.Label instead of a canvas.Text to widget.NewButton().
The text was updated successfully, but these errors were encountered:
andydotxyz
changed the title
Have widget.Button receive a widget.Label instead of canvas.Text for the button label
Have widget.Button embed a widget.Label instead of canvas.Text for the button label
Aug 15, 2021
Is your feature request related to a problem? Please describe:
Well there may be more reason than one but what brought this to my attention was the inability to add a new line to the label of the button.
Is it possible to construct a solution with the existing API?
Yes. It should be a relatively simple change. I might even be able to implement it (very poorly).
Describe the solution you'd like to see:
I would like to be able to pass a widget.Label instead of a canvas.Text to widget.NewButton().
The text was updated successfully, but these errors were encountered: