T09b overlays: lightbox, spotlight and tour, floating toolbar, peek; images fill their box; overlays take focus back when its element leaves the tree
This commit is contained in:
18 files changed
+1754
-228
No files matched your search
@@ -233,6 +233,11 @@ impl Theme {
|
||||
(px_to_rems(84.0), px_to_rems(40.0))
|
||||
}
|
||||
|
||||
/// Room between a box and what floats by it: a spotlight's ring, a selection's toolbar.
|
||||
pub fn float_gap(&self) -> Rems {
|
||||
px_to_rems(6.0)
|
||||
}
|
||||
|
||||
/// Width of a dialog's card.
|
||||
pub fn dialog_width(&self) -> Rems {
|
||||
px_to_rems(440.0)
|
||||
|
||||
Reference in new issue
Block a user