Commit graph

11 commits

Author SHA1 Message Date
Florian Blasius
4ec63a9c71
cleanup examples according to upcoming code guidelines (#3809) 2023-11-02 11:04:40 +01:00
Olivier Goffart
11dea135f7 Domain: slint-ui.com -> slint.dev 2023-06-16 10:55:08 +02:00
Aurindam Jana
e4338300de
Change license for examples to MIT (#2887) 2023-06-15 11:23:17 +02:00
Olivier Goffart
6441968a43 Janitor: Remove trailing spaces in most files 2023-05-04 08:14:28 +02:00
Simon Hausmann
3c6ff552cd Fix slide puzzle not scaling to the browser viewport
With commit b55ec6894a the preferred size
of the background image of the slide puzzle demo propagates to the
Window, which causes the web build of the winit backend to use the
window's preferred size instead of the 100% viewport width/height set
via CSS.

Work around it via manual positioning.
2023-01-24 16:26:06 +01:00
Florian Blasius
520df46998
Update examples to new syntax (#2067)
* run slint-updater on examples
* manual syntax updates
2023-01-16 12:11:25 +00:00
Olivier Goffart
51933b99bb New syntax for transitions, within the state 2022-11-22 15:16:54 +01:00
Simon Hausmann
3faa737e33 Minor cleanup in the slide puzzle demo
For the image tiles we can calculate the source clip based on the computed size
of the imager - we don't have to hard-code the dimension anymore.
2022-04-07 13:43:36 +02:00
Tobias Hunger
4230ac2572
Update copyright information to reflect name change
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00
Olivier Goffart
3594c20153 Replace SixtyFPS in many locations (Uppercase) 2022-02-02 15:49:18 +01:00
Olivier Goffart
0c0a783095 Rename all our .60 files to .slint 2022-02-02 10:05:45 +01:00
Renamed from examples/slide_puzzle/slide_puzzle.60 (Browse further)