-
Notifications
You must be signed in to change notification settings - Fork 789
Open
Labels
a:language-slintCompiler for the .slint language (mO,bF)Compiler for the .slint language (mO,bF)rfcRequest for comments: proposals for changesRequest for comments: proposals for changes
Description
Text should provide the actual metrics of its text. These new out-properties could be named text-x, text-y, text-width, and text-height.
With these, you can, e.g., implement a text background that isn't rendered too wide when text is wrapped. This SlintPad demo demonstrates the basic idea, although the background is still rendered too wide for wrapped text (change the preview size all the way from wide to narrow).
Metadata
Metadata
Assignees
Labels
a:language-slintCompiler for the .slint language (mO,bF)Compiler for the .slint language (mO,bF)rfcRequest for comments: proposals for changesRequest for comments: proposals for changes