T06g forms structure: form with Cmd-Enter submit, sections, fields, labels, errors, field arrays, inline forms, dirty indicator
This commit is contained in:
13 files changed
+850
-78
No files matched your search
@@ -243,6 +243,11 @@ impl Theme {
|
||||
px_to_rems(6.0)
|
||||
}
|
||||
|
||||
/// A dot that marks a state, such as unsaved changes.
|
||||
pub fn status_dot(&self) -> Rems {
|
||||
px_to_rems(6.0)
|
||||
}
|
||||
|
||||
/// A switch's track; its thumb fills the height inside a small inset.
|
||||
pub fn switch_track(&self) -> Size<Rems> {
|
||||
size(px_to_rems(32.0), px_to_rems(18.0))
|
||||
|
||||
Reference in new issue
Block a user