use crate::tokens::DESIGN_TOKENS;
#[derive(Clone, Debug)]
pub struct DrawingPropertiesConfig {
pub width: f32,
pub height: f32,
pub tab_height: f32,
pub content_padding: f32,
pub row_spacing: f32,
pub label_width: f32,
pub control_width: f32,
}
impl Default for DrawingPropertiesConfig {
fn default() -> Self {
Self {
width: DESIGN_TOKENS.sizing.dialog.default_width,
height: DESIGN_TOKENS.sizing.dialog.properties_height,
tab_height: DESIGN_TOKENS.sizing.settings_dialog.tab_height,
content_padding: DESIGN_TOKENS.spacing.lg,
row_spacing: DESIGN_TOKENS.spacing.md,
label_width: DESIGN_TOKENS.sizing.dialog.label_width,
control_width: DESIGN_TOKENS.sizing.settings_dialog.dropdown_width,
}
}
}