Nigel Breslaw
Nigel Breslaw
I've seen this twice now, but don't know how to reproduce it. Under certain conditions Gitbutler is auto naming the branch to '-1'. This is a valid branch name for...
[x] Add builtin. [x] Update docs. [ ] Add test.
As the world of 2D graphics and slint often has minus values for x, y positions you have to be a bit more knowledge to deal with the output from...
Placeholder mega issue for various MacOS inconsistency issues in look and behaviour. This is based on MacOS Sonoma on a HDR HiDPI screen (P3 color space). MacOS Sequoia comes out...
The todo-mvc demo wasm is a [dead link](https://slint.dev/snapshots/master/demos/todo-mvc/) and the slintpad version looks quite [unhappy.](https://slint.dev/snapshots/master/editor?load_url=https://raw.githubusercontent.com/slint-ui/slint/master/examples/todo-mvc/ui/index.slint)
The docs at his [page](https://releases.slint.dev/1.7.1/docs/node/) have a dead link to a [walk-through tutorial](https://releases.slint.dev/1.7.1/docs/quickstart/node) This also affects things like the [blog post](https://slint.dev/blog/slint-1.3-released) which also point to a dead tutorial link
Working on tweaking animations that use animation-tick() is painful as the refresh button doesn't reset the value from animation-tick(). Instead I had to restart the LSP which also kills the...
See this [example](https://slintpad.com/?snippet=import+%7B+Button+%7D+from+%22std-widgets.slint%22%3B%0Aexport+component+Demo+%7B%0A++++width%3A+400px%3B%0A++++height%3A+400px%3B%0A++++Rectangle+%7B%0A++++++++background%3A+white%3B%0A++++%7D%0A%0A++++Rectangle+%7B%0A++++++++width%3A+b.width%3B%0A++++++++height%3A+b.height%3B%0A++++++++x%3A+b.x%3B%0A++++++++y%3A+b.y%3B%0A++++++++background%3A+darkgray%3B%0A++++%7D%0A%0A++++b+%3A%3D+Button+%7B%0A++++++++x%3A+10px%3B%0A++++++++y%3A+10px%3B%0A++++++++text%3A+%22Toggle+Touch%3A+%22+%2B+%28ta.enabled+%3F+%22on%22+%3A+%22off%22%29%3B%0A++++++++clicked+%3D%3E+%7B%0A++++++++++++ta.enabled+%3D+%21ta.enabled%3B%0A++++++++%7D%0A++++%7D%0A%0A++++sgh+%3A%3D+SwipeGestureHandler+%7B%0A++++++++width%3A+60%25%3B%0A++++++++height%3A+60%25%3B%0A++++++++Rectangle+%7B%0A++++++++++++background%3A+yellow%3B%0A++++++++%7D%0A++++++++handle-swipe-down%3A+true%3B%0A++++++++handle-swipe-up%3A+true%3B%0A++++++++handle-swipe-left%3A+true%3B%0A++++++++handle-swipe-right%3A+true%3B%0A++++++++ta+%3A%3D+TouchArea+%7B%0A++++++++++++%0A++++++++%7D%0A++++%7D%0A%0A++++Text+%7B%0A++++++++color%3A+black%3B%0A++++++++text%3A+%22swiping%3A+%22+%2B+%28sgh.swiping+%3F+%22true%22+%3A+%22false%22%29%3B%0A++++%7D%0A%7D%0A&style=native) When working on the side bar for a recent demo it was noticed that it was a lot easier to get the swipe to work when there...
Load up this [example](https://slintpad.com/?snippet=export+component+Demo+%7B%0A++++width%3A+400px%3B%0A++++height%3A+400px%3B%0A++++Rectangle+%7B%0A++++++++background%3A+white%3B%0A++++%7D%0A%0A++++sgh+%3A%3D+SwipeGestureHandler+%7B%0A++++++++width%3A+60%25%3B%0A++++++++height%3A+60%25%3B%0A++++++++Rectangle+%7B%0A++++++++++++background%3A+yellow%3B%0A++++++++%7D%0A++++++++handle-swipe-down%3A+true%3B%0A++++++++handle-swipe-up%3A+true%3B%0A++++++++handle-swipe-left%3A+true%3B%0A++++++++handle-swipe-right%3A+true%3B%0A++++%7D%0A%0A++++Text+%7B%0A++++++++color%3A+black%3B%0A++++++++text%3A+%22swiping%3A+%22+%2B+%28sgh.swiping+%3F+%22true%22+%3A+%22false%22%29%3B%0A++++%7D%0A%7D%0A&style=native) Start a swipe inside the yellow area and swipe all the way till the mouse in in the white part of the screen. This cancels the...
Noticed a difference in rendering of border-radius on WASM. In the image the incorrect and squished looking slider is caused by its border-radius being set to `self.height`. Once set to...