UI refinements for radio buttons and the Snapping/Grid popovers

This commit is contained in:
Keavon Chambers
2024-01-18 05:03:43 -08:00
parent 2df329fc0e
commit 5c9d3c5d75
8 changed files with 43 additions and 26 deletions
@@ -264,6 +264,9 @@ pub struct RadioInput {
// This uses `u32` instead of `usize` since it will be serialized as a normal JS number (replace this with `usize` after switching to a Rust-based GUI)
#[serde(rename = "selectedIndex")]
pub selected_index: Option<u32>,
#[serde(rename = "minWidth")]
pub min_width: u32,
}
#[derive(Clone, Default, Derivative, Serialize, Deserialize, WidgetBuilder, specta::Type)]