-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Entry ReadOnly #5534
Comments
An entry that cannot be edited and cannot be copied? That is a |
It seems like this rather would be solved by making a selectable label like we talked about a while ago on the call |
An entry that cannot be edited and can be copied |
My apologies, I misread your message.
This is not correct, and is where my confusion came from, a disabled entry can be copied. |
My apologies, I was wrong. I was testing this under windows. In most Windows applications, a disabled entry cannot have the focus, and the text cannot be copied. (A native Windows read-only entry can have the focus, and its text can be copied, but it looks exactly like a non-disabled entry.) I was confused because I was expecting the native look and feel on Windows. I can see now that some text can be selected with the mouse in a disabled fyne.Entry . Here are some things that don't work:
But they don't need to work, it was just a bit unexpected. Thank you! |
Checklist
Is your feature request related to a problem?
It is possible to disable an
Entry
, but that prevents copying text to the clipboard. Is it possible to create anEntry
that is not disabled, with the ability to copy text to clipboard, but at the same time make it read-only?Is it possible to construct a solution with the existing API?
I think it is not possible to do this with the current API.
Describe the solution you'd like to see.
The text was updated successfully, but these errors were encountered: