-
Notifications
You must be signed in to change notification settings - Fork 785
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
I still find code like this unnecessarily complex width: self.source.width / root.frames-wide * 1px;.
Even though it's technically the same thing, would it be possible to have px(width: self.source.width / root.frames-wide) and postfix (width: self.source.width / root.frames-wide).px(). Or toInt() or whatever the best name is. It would make the language look more friendly to new starters (especially design folk), you don't have to understand math order of operations, etc.
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