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
Discussion: PropertySheet: Leave text fields for read-only property-items with setDisabled(false) and only setEditable(false) #1537
Comments
I think 2 aspects would be nice:
|
Sounds like a good addition! |
I tried the approach to be able to copy it without changing the visual style by creating a custom editor and have a copy-button right next to the text field and have it all wrapped in an HBox. The issue is though that As a quick fix, I did exactly what I mentioned in the question (on my private fork of the library) and only set However, I am not entirely sure if we really need a new flag if we just emulate the disabled style, but I am also not fully aware of the possible consequences of such a change given the age of the library. If we were to add a new flag, where would you suggest adding it? In the |
To be honest, I'm not sure either - I just worry about the consequences to existing apps. |
In theory, Node's |
Hi @vatbub have you been able to work on it? |
TBH it's been a while since I worked on that and I forgot what I ended up doing. I'll check tomorrow. |
Thanks, any feedback is welcome. If there is any starting point I am interested in continuing the work. |
Hi there!
I would like to open a small discussion whether read-only property items in a
PropertySheet
that use a text-field based editor should only setsetEditable(false)
and not setsetDisabled(true)
, as it is currently done.The advantage of the current UX is that it is very clear to the user that a given property is read-only. However, in my case, I would like the user to be able to select the contents of the text field to copy them into the clipboard, which is impossible when setting
setDisable(true)
.I am currently working on a fix for this issue in a fork but would like other opinions before creating a PR.
Cheers :)
The text was updated successfully, but these errors were encountered: