Enyium

Results 99 comments of Enyium

(BTW: It's "to file an issue", not "to fill an issue", so "filing" instead of "filling". Just so you know.)

My comment may have insinuated that a `Rectangle` with `background: transparent` should interpret mouse messages over the `background` area as hit test misses. But this may not necessarily be what's...

When having a multi-line text box as part of the UI that allows to insert tab characters, this case must be handled in a special way to prevent that the...

Another use case is in grid layouts. The new properties shouldn't lead to binding loops. [SlintPad demo](https://slintpad.com/?snippet=import+%7B+VerticalBox%2C+GridBox%2C+HorizontalBox%2C+LineEdit%2C+CheckBox%2C+SpinBox+%7D+from+%22std-widgets.slint%22%3B%0A%0Aexport+component+Demo+%7B%0A++++VerticalLayout+%7B%0A++++++++alignment%3A+start%3B%0A%0A++++++++HorizontalLayout+%7B%0A++++++++++++alignment%3A+start%3B%0A%0A++++++++++++grid-box+%3A%3D+GridBox+%7B%0A++++++++++++++++Row+%7B%0A++++++++++++++++++++Text+%7B%0A++++++++++++++++++++++++horizontal-stretch%3A+0%25%3B%0A++++++++++++++++++++++++text%3A+%22Lorem%3A%22%3B%0A++++++++++++++++++++++++vertical-alignment%3A+center%3B%0A++++++++++++++++++++%7D%0A%0A++++++++++++++++++++HorizontalBox+%7B%0A++++++++++++++++++++++++horizontal-stretch%3A+100%25%3B%0A++++++++++++++++++++++++padding%3A+0%3B%0A++++++++++++++++++++++++alignment%3A+start%3B%0A%0A++++++++++++++++++++++++LineEdit+%7B%0A++++++++++++++++++++++++++++width%3A+10rem%3B%0A++++++++++++++++++++++++++++text%3A+%22Ipsum%22%3B%0A++++++++++++++++++++++++%7D%0A++++++++++++++++++++%7D%0A++++++++++++++++%7D%0A%0A++++++++++++++++Row+%7B%0A++++++++++++++++++++check-box+%3A%3D+CheckBox+%7B%0A++++++++++++++++++++++++colspan%3A+2%3B%0A++++++++++++++++++++++++text%3A+%22Dolor+sit+amet%22%3B%0A++++++++++++++++++++%7D%0A++++++++++++++++%7D%0A%0A++++++++++++++++Row+%7B%0A++++++++++++++++++++Text+%7B%0A++++++++++++++++++++++++horizontal-stretch%3A+0%25%3B%0A++++++++++++++++++++++++text%3A+%22Consetetur%3A%22%3B%0A++++++++++++++++++++++++vertical-alignment%3A+center%3B%0A++++++++++++++++++++%7D%0A%0A++++++++++++++++++++HorizontalBox+%7B%0A++++++++++++++++++++++++horizontal-stretch%3A+100%25%3B%0A++++++++++++++++++++++++padding%3A+0%3B%0A++++++++++++++++++++++++alignment%3A+start%3B%0A%0A++++++++++++++++++++++++SpinBox+%7B%0A++++++++++++++++++++++++++++value%3A+123%3B%0A++++++++++++++++++++++++%7D%0A++++++++++++++++++++%7D%0A++++++++++++++++%7D%0A%0A++++++++++++++++Row+%7B%0A++++++++++++++++++++Text+%7B%0A++++++++++++++++++++++++colspan%3A+2%3B%0A++++++++++++++++++++++++text%3A+%22This+is+informational+text.+Lorem+ipsum+dolor+sit+amet%2C+consetetur+sadipscing+elitr.%22%3B%0A++++++++++++++++++++++++wrap%3A+word-wrap%3B%0A%0A++++++++++++++++++++++++%2F%2F+This+seems+hacky.%0A++++++++++++++++++++++++%2F%2F+And+what+if+there+is+no+other+%60colspan%3A+2%60+element+to+refer+to%3F%0A++++++++++++++++++++++++preferred-width%3A+check-box.preferred-width%3B%0A++++++++++++++++++++%7D%0A++++++++++++++++%7D%0A%0A++++++++++++++++Row+%7B%0A++++++++++++++++++++Text+%7B%0A++++++++++++++++++++++++horizontal-stretch%3A+0%25%3B%0A++++++++++++++++++++++++text%3A+%22Elitr%3A%22%3B%0A++++++++++++++++++++++++vertical-alignment%3A+center%3B%0A++++++++++++++++++++%7D%0A%0A++++++++++++++++++++HorizontalBox+%7B%0A++++++++++++++++++++++++horizontal-stretch%3A+100%25%3B%0A++++++++++++++++++++++++padding%3A+0%3B%0A++++++++++++++++++++++++alignment%3A+start%3B%0A%0A++++++++++++++++++++++++LineEdit+%7B%0A++++++++++++++++++++++++++++width%3A+7rem%3B%0A++++++++++++++++++++++++++++text%3A+%22Sed%22%3B%0A++++++++++++++++++++++++%7D%0A++++++++++++++++++++%7D%0A++++++++++++++++%7D%0A++++++++++++%7D%0A++++++++%7D%0A++++%7D%0A%7D%0A&style=fluent) (see comment in previous to last `Row`): ```slint import { VerticalBox, GridBox, HorizontalBox,...

> Don’t use this callback to initialize properties, because this violates the declarative principle. "because this violates the declarative principle" is something completely different than "Don't expect this to work."...

I'm using [X-Mouse Button Control](https://www.highrez.co.uk/downloads/xmousebuttoncontrol.htm) to transform trackball movements (while holding another button) two scroll events. I assigned the action "Change Movement to Scroll" to a button. The settings dialog...

I think you're talking too much about your personal journey. I believe the devs checking whether the relevant spot in the source code is wrong should already resolve this (especially...

> We need to think of a syntax for different things. > > * Loop through children. (eg `for X in @children : SomeComponent { X{} }` > * Maybe...

> accessing them would be available outside of slint, using the same syntax that other properties already use. This reminds me of #2390. But I also read something about them...

I think the following is the same error. Consider [this SlintPad demo](https://slintpad.com/?snippet=import+%7B+ScrollView+%7D+from+%22std-widgets.slint%22%3B%0A%0Aexport+component+Demo+%7B%0A++++ScrollView+%7B%0A++++++++viewport-height%3A+500px%3B%0A++++++++Rectangle+%7B%0A++++++++++++height%3A+500px%3B%0A++++++++++++background%3A+%40linear-gradient%28180deg%2C+red+0%25%2C+lime+100%25%29%3B%0A++++++++%7D%0A++++%7D%0A%7D%0A&style=native): ```slint import { ScrollView } from "std-widgets.slint"; export component Demo { ScrollView { viewport-height: 500px; Rectangle { height:...