T08a menus: menu, items, groups, separators, submenus, check and radio rows, key hints, icons; dropdown, split, overflow and context hosts; overlays pick on key release
This commit is contained in:
20 files changed
+1695
-52
No files matched your search
@@ -228,6 +228,11 @@ impl Theme {
|
||||
px_to_rems(480.0)
|
||||
}
|
||||
|
||||
/// Narrowest a menu's panel gets.
|
||||
pub fn menu_width(&self) -> Rems {
|
||||
px_to_rems(200.0)
|
||||
}
|
||||
|
||||
/// A palette's card; its list scrolls inside.
|
||||
pub fn palette_size(&self) -> Size<Rems> {
|
||||
size(px_to_rems(600.0), px_to_rems(400.0))
|
||||
|
||||
Reference in new issue
Block a user