Commit graph

2871 commits

Author SHA1 Message Date
Simon Hausmann
3a79805f21 Fix horizontal centering of "More" button in queue item 2021-02-22 11:17:38 +01:00
Simon Hausmann
eb09848e97 Try to unify font sizes in the global settings
This also fixes the size of the document title in the printing queue
2021-02-22 11:17:38 +01:00
Simon Hausmann
bf837a7999 Add a note about the missing button centering 2021-02-22 11:17:38 +01:00
Simon Hausmann
782244f8bb Fix the font weight of the printing queue header 2021-02-22 11:17:38 +01:00
Simon Hausmann
341be9cb18 Fix placement of the printer name label and the printer queue items 2021-02-22 11:17:38 +01:00
Simon Hausmann
d3672a771e Fix page placement within the main view
The padding can be reduced to more closely match the design
2021-02-22 11:17:38 +01:00
Simon Hausmann
d6ee61ebe1 Add a push button to the print queue details 2021-02-22 11:17:38 +01:00
Simon Hausmann
35402375f3 Fix size label color in print queue 2021-02-22 11:17:38 +01:00
Simon Hausmann
b9af0c7f30 Place the printer queue into a flickable 2021-02-22 11:17:38 +01:00
Olivier Goffart
fdbdfedacd Small adjustments 2021-02-22 11:17:38 +01:00
Olivier Goffart
4e25edf83f ScanPage 2021-02-22 11:17:38 +01:00
Olivier Goffart
52683e6b3d Some progress on the printerdemo widgets 2021-02-22 11:17:38 +01:00
Olivier Goffart
b79f99c485 Print demo: Draft of a spin box 2021-02-22 11:17:38 +01:00
Simon Hausmann
47b2a6c569 Centralize the color for the outline of clickable items
In the "green" mode that's a distinctly different color.

Maybe this should be named after primary/secondary instead?
2021-02-22 11:17:38 +01:00
Simon Hausmann
3ccd2712f4 Make it possible to expand print queue item details
TODO: Animate the appearance/disappearance somehow...
2021-02-22 11:17:38 +01:00
Olivier Goffart
f72e82254b Printer demo Sub-pages 2021-02-22 11:17:38 +01:00
Simon Hausmann
1233050b12 Use a tad bit of spacing inside a printer queue item 2021-02-22 11:17:38 +01:00
Simon Hausmann
60b67651b1 Fix the printer queue item background color 2021-02-22 11:17:38 +01:00
Olivier Goffart
3476ef0305 Make the Settings page less ugly 2021-02-22 11:17:38 +01:00
Olivier Goffart
492d094df1 Make the ink icon be a SVG
Note that the SVG exported by figma was corrupted, so i build one
manually by merging the two path
2021-02-22 11:17:38 +01:00
Simon Hausmann
2def8b4f26 Start working on the printing queue 2021-02-22 11:17:38 +01:00
Simon Hausmann
e7d1dc9545 Move the printer actions back into the home_page.60 file 2021-02-22 11:17:38 +01:00
Simon Hausmann
4f79c04622 Share the color constant for the night mode for the printer action background 2021-02-22 11:17:38 +01:00
Simon Hausmann
4209930688 Add the text under the action buttons 2021-02-22 11:17:38 +01:00
Olivier Goffart
d7a10fdc93 Some stuff for the ink levels 2021-02-22 11:17:38 +01:00
Simon Hausmann
861cf74e73 Some work on the night mode coloring 2021-02-22 11:17:38 +01:00
Olivier Goffart
e58749255d Placeholder for the ink page 2021-02-22 11:17:38 +01:00
Olivier Goffart
87cb8ac298 Some dummy page animation 2021-02-22 11:17:38 +01:00
Simon Hausmann
67095059d0 Merge the night mode into the Palette
Then we can switch colors there, too
2021-02-22 11:17:38 +01:00
Simon Hausmann
13116e8a20 Begin working on the home page 2021-02-22 11:17:38 +01:00
Olivier Goffart
7f71f8f18c Remove usunsed code 2021-02-22 11:17:38 +01:00
Olivier Goffart
ce09a4fa5a Avoid flickering of icon before the tab has animated
By making an animation for the color so it is fluid
2021-02-22 11:17:38 +01:00
Simon Hausmann
50ecce0bf1 Remove the vertical link in the page selection path 2021-02-22 11:17:38 +01:00
Simon Hausmann
a504430bcb Include the drop in the ink rendering 2021-02-22 11:17:38 +01:00
Simon Hausmann
4e7ba98a95 Tweak the alignment of the path under the sidebar 2021-02-22 11:17:38 +01:00
Simon Hausmann
760d7f5839 Animate the path under the active page icon
The alignment is still wrong though, but this works in principle
2021-02-22 11:17:38 +01:00
Simon Hausmann
2d249ae907 Place the icons in the sidebar manually 2021-02-22 11:17:38 +01:00
Simon Hausmann
4cee552201 Fill the night mode icon when clicked
Work around issue #173 by explicitly initializing the global night mode property
2021-02-22 11:17:38 +01:00
Simon Hausmann
58167e6281 Work around rendering issue with the ink SVG
Pre-render the SVG
2021-02-22 11:17:38 +01:00
Simon Hausmann
ba14486788 Fix side bar layout padding 2021-02-22 11:17:38 +01:00
Simon Hausmann
08bb6c0828 Provide space for the main view
This also allows getting rid of the intermediate fake rectangle
2021-02-22 11:17:38 +01:00
Simon Hausmann
1592866661 Start working on the new printer demo design 2021-02-22 11:17:38 +01:00
Olivier Goffart
5c6e84fa54 Copy the printerdemo to printerdemo_old
We're about to redo the printerdemo so copy the old one as we will
re-use the path for the new one
2021-02-22 11:16:40 +01:00
Olivier Goffart
5727a4cf02 implement square root 2021-02-20 08:53:08 +01:00
Simon Hausmann
2f3c280ebe Fix cargo fmt --check
Not sure what happened but I guess the new release made it stricter
2021-02-18 13:45:42 +01:00
Simon Hausmann
b174d5aa7c Fix the minimum size of Text elements that permit elision
Fixes #179
2021-02-18 12:24:19 +01:00
Olivier Goffart
90fd7b1403 Manual implementation of Debug for Property
Helps with debugging. It is too verbose with useless info otherwise
2021-02-18 10:30:59 +01:00
Olivier Goffart
b34a34cea0 C++ Make sure that the layout is properly updated when the model of a for or if changes
The problem is that the backend is using the `meta_property_listener` to know
if the layout must be updated, but the C++ code would not register a dependency

NOTE about the test: The test doesn't really test that it works because
the test backend don't have a meta_property_listener and apply the layout
inconditionally in sixtyfps_send_mouse_click
2021-02-18 09:40:12 +01:00
Olivier Goffart
13a2138022 GridLayout: Don't divide the max cell size by the colspan or rowspan
Otherwise we end up contraining the layout too much.
The result is still wrong, but probably better. (see #42)
2021-02-17 18:59:49 +01:00
Simon Hausmann
8b28c4d792 Fix compilation with empty image urls when resource embedding is enabled
`@image-url("")` should translate to `Resource::None` instead of
`Resource::AbsolutePath` to avoid that the rust compiler tries to
include a directory when embedding images.
2021-02-17 16:01:54 +01:00