#[derive(Clone)]
pub struct MosaicConfig {
    pub tab_bar_height: f32,
    pub close_button_size: f32,
    pub gap_width: f32,
    pub min_size: f32,
    pub simplification_options: egui_tiles::SimplificationOptions,
    pub all_closable: bool,
    pub show_add_button: bool,
}

impl Default for MosaicConfig {
    fn default() -> Self {
        Self {
            tab_bar_height: 24.0,
            close_button_size: 16.0,
            gap_width: 1.0,
            min_size: 32.0,
            simplification_options: egui_tiles::SimplificationOptions {
                all_panes_must_have_tabs: true,
                ..Default::default()
            },
            all_closable: true,
            show_add_button: true,
        }
    }
}
