mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 15:17:25 +00:00
Fix links from the tutorial to the Rust crates
The crate has been renamed. There's a redirect in place, so the release docs should be ok, but in the future we should use the right name.
This commit is contained in:
parent
eb320b0a99
commit
a9c76d44a2
5 changed files with 10 additions and 10 deletions
|
@ -2,12 +2,12 @@
|
|||
|
||||
The game is visually a little bare. Here are some ideas how you could make further changes to enhance it:
|
||||
|
||||
* The tiles could have rounded corners, to look a little less sharp. The [border-radius](https://slint-ui.com/docs/rust/sixtyfps/docs/builtin_elements/index.html#rectangle)
|
||||
* The tiles could have rounded corners, to look a little less sharp. The [border-radius](https://slint-ui.com/docs/rust/slint/docs/builtin_elements/index.html#rectangle)
|
||||
property of *Rectangle* can be used to achieve that.
|
||||
|
||||
* In real world memory games, the back of the tiles often have some common graphic. You could add an image with
|
||||
the help of another *[Image](https://slint-ui.com/docs/rust/sixtyfps/docs/builtin_elements/index.html#image)*
|
||||
element. Note that you may have to use *Rectangle*'s *[clip](https://slint-ui.com/docs/rust/sixtyfps/docs/builtin_elements/index.html#properties-1) property*
|
||||
the help of another *[Image](https://slint-ui.com/docs/rust/slint/docs/builtin_elements/index.html#image)*
|
||||
element. Note that you may have to use *Rectangle*'s *[clip](https://slint-ui.com/docs/rust/slint/docs/builtin_elements/index.html#properties-1) property*
|
||||
element around it to ensure that the image is clipped away when the curtain effect opens.
|
||||
|
||||
Let us know in the comments on Github Discussions how you polished your code, or feel free to ask questions about
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue