T11b loading: progress bars and rings that glide, loading overlay, lazy load, suspense and async view, refresh and typing indicators, upload list; draw-time notifies ask for a frame
This commit is contained in:
38 files changed
+1646
-91
No files matched your search
@@ -171,6 +171,11 @@ impl Theme {
|
||||
px_to_rems(2.0)
|
||||
}
|
||||
|
||||
/// A progress ring's width, room for a percent inside.
|
||||
pub fn progress_ring(&self) -> Rems {
|
||||
px_to_rems(48.0)
|
||||
}
|
||||
|
||||
pub fn about_window(&self) -> Size<Pixels> {
|
||||
size(px(360.0), px(400.0))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user