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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable Form
labels when the element it applys to is disabled
#1530
Comments
Disable
a Label
I have a feeling that this might be more of a |
To my understanding, the e.g: the reason you can't add non- I had tested implementing this on my own extended widget and a |
FormItem is the metadata for a row in a form. It's |
The |
In form this makes sense and can be handled automatically by the widget - updating title to reflect |
Disable
a Label
Form
labels when the element it applys to is disabled
Sounds good! This does make quite a bit of sense, as |
In 2.1 we could return to using Label as RichText would allow colours. But for now using Text works :). Fixes fyne-io#1530
Feel free to give the PR a test :) |
In |
Is your feature request related to a problem? Please describe:
When creating forms (which currently, I can't use the
Form
type properly, covered in another issue); I would like to be able to "Disable" (grey out, just like withEntry
fields) Labels corresponding to values which can no longer be modified.Example:
(Notice how the
Label
visually seems very out of place when its correspondingEntry
is disabled?)Is it possible to construct a solution with the existing API?
Yes
Describe the solution you'd like to see:
Make
Label
Disablable
likeCheck
andEntry
already are.The text would go grey, just like
Check
andEntry
already do.The text was updated successfully, but these errors were encountered: