slint-ui / slint

Slint is a declarative GUI toolkit to build native user interfaces for Rust, C++, or JavaScript apps.
https://slint.dev
Other
16.93k stars 565 forks source link

Read only line and text edits and a context menu when right click #1314

Closed cppdev123 closed 2 years ago

cppdev123 commented 2 years ago

It will be very nice to have a read only line edit or text edit that is enabled but does not allow users to edit its content it only allows them to select text and copy it. Also currently there is no context menu shown when right clicking on a text edit.

hunger commented 2 years ago

Yes, that would indeed be great to have!

cppdev123 commented 2 years ago

accept the pull request I opened https://github.com/slint-ui/slint/pull/1320

ogoffart commented 2 years ago

Was done in #1321 Thank you.