Olivier Goffart
07e2532c0b
Printer Demo: rename PrinterQueue component
...
PrinterQueue -> PrineterQueueView
PrinterQueueData -> PrinterQueue
2021-08-27 16:55:07 +02:00
Olivier Goffart
fefc7f31d0
Port the printer demo to use exported globals
2021-08-27 16:55:07 +02:00
Tobias Hunger
aea4ecca99
Apply pre-commit hooks to all files
2021-08-17 22:38:16 +02:00
Olivier Goffart
ffccef4e0c
Examples: replace all _ by - in identifiers
2021-08-10 22:21:01 +02:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Olivier Goffart
6f6f5fc1ee
printerdemo: Use a GridLayout
...
Now that the rowspan and colspan are no longer buggy
2021-07-02 12:30:07 +02:00
Olivier Goffart
ee00c9eb92
Rename maximum- and minimum- properties to max- and min-
...
Issue #259
2021-06-14 10:28:30 +02:00
Olivier Goffart
b463e3cca4
WIP refactor layout
...
This commit add support for the box layout
2021-05-11 14:59:57 +02:00
Simon Hausmann
02d598ee64
Make clicking on the more button in the printer queue navigate to the printer queue
2021-04-30 15:24:08 +02:00
Olivier Goffart
8ca0eb65b3
Better animation of the expanding of the printer queue
2021-04-26 11:22:36 +02:00
Olivier Goffart
f104a8f80d
Printer demo: fix the print page layout
2021-04-26 10:42:46 +02:00
Olivier Goffart
97fe979e5b
Printer demo: Small adjustments to the print screen
2021-04-26 08:59:32 +02:00
Olivier Goffart
d8ebd42712
GL backend: fix vertical alignment of text
...
Fix issue in
https://github.com/sixtyfpsui/sixtyfps/issues/207#issuecomment-825780094
For the purpose of alignment, we need to use the font height, not the actual
text height, because otherwise it does not look visualy centered if the
text does not have letters that goes under the baseline
2021-04-25 14:20:35 +02:00
Olivier Goffart
80b236489e
Add a clip
property that can be set to the Rectangle
2021-04-12 18:48:43 +02:00
Olivier Goffart
b45190ca2d
Flickable geometry
...
Issue #192
2021-04-09 19:14:48 +02:00
Olivier Goffart
689d4a3c16
Printer demo: fix issue after the viewport gets its own element
...
The layout inside the flickable will no longer be included to
size the paretn layout. We must not take the inner part of the layout
into account
2021-04-09 19:14:48 +02:00
Olivier Goffart
16cf03e85f
Printer demo: animation when extending the printing queue items
...
Thanks to the layout.minimum-height working properly
2021-04-08 20:23:24 +02:00
Simon Hausmann
b591f7de2c
Add Window.default-font-size
...
This allows getting rid of the `DemoText` element in the printer demo
2021-03-02 13:33:43 +01:00
Simon Hausmann
e6b9e6af25
Improve spacing between the printer queue details
2021-02-22 11:17:39 +01:00
Simon Hausmann
de4d66ed79
Simplify font-size management
...
* Pick 16px as the base font size also for labels
* Select that as a default in `DemoText` to remove duplicated
bindings
2021-02-22 11:17:39 +01:00
Olivier Goffart
5237161d51
printerdemo rust: Add some progess
2021-02-22 11:17:39 +01:00
Simon Hausmann
42efd20806
Remove workarounds for #179
2021-02-22 11:17:39 +01:00
Simon Hausmann
c792f0d0de
Allow the document title to be rendered using an elision in the printer queue
...
This also adds the missing elision glyph to the NotoSans font as well as
the missing license file
2021-02-22 11:17:39 +01:00
Olivier Goffart
5a5cb51595
Printer demo: add some spacing
2021-02-22 11:17:39 +01:00
Olivier Goffart
7c5f609186
Remove hack because of broken GridLayout
2021-02-22 11:17:39 +01:00
Olivier Goffart
aabff4dae5
Print demo: some size adjusmtent
2021-02-22 11:17:39 +01:00
Olivier Goffart
6a3ec0465d
printer demo: Fix some invisible text in night mode
2021-02-22 11:17:39 +01:00
Olivier Goffart
b680840063
Some adjustment to the size of the printing queue in the home page of the printer demo
2021-02-22 11:17:39 +01:00
Simon Hausmann
cfb7af6b66
Also show a progress bar for waiting items
2021-02-22 11:17:39 +01:00
Simon Hausmann
90871d01eb
Add a hacky progress bar
2021-02-22 11:17:39 +01:00
Simon Hausmann
6461d44f6d
Select the Noto Sans font for the new printer demo
...
Use a new `DemoText` element throughout the code base that selects the
Noto Sans family. An ascii-only variant of the font is included in the
repo along with the shell script to do the conversion.
At the moment this only works with the interpreter, the other builds
still need adapting and will fall back to the system default font as
before.
2021-02-22 11:17:39 +01:00
Simon Hausmann
a000e898e3
Some work on the wide printer queue item layout
2021-02-22 11:17:38 +01:00
Simon Hausmann
f7825c5a36
Fix the color of the border in the wide printer queue view
2021-02-22 11:17:38 +01:00
Simon Hausmann
55ea583abb
Start with the wide printer queue
2021-02-22 11:17:38 +01:00
Simon Hausmann
2b43587e79
Split out the line separate print details into a component
2021-02-22 11:17:38 +01:00
Simon Hausmann
c5a0bb44f3
Begin sharing the printer queue in the print page
...
This needs an additioal mode though to render a different layout
2021-02-22 11:17:38 +01:00