1
0
Fork 0
forked from wry/wry

theme: add bar-separator-width setting

This commit is contained in:
Stipe Kotarac 2025-12-01 18:15:11 +01:00
parent f5ed6f8fac
commit a6e629dd2f
16 changed files with 163 additions and 31 deletions

View file

@ -450,12 +450,17 @@ impl ThemeSizes {
self.title_height.val.get()
}
}
pub fn bar_separator_width(&self) -> i32 {
self.bar_separator_width.get()
}
}
sizes! {
title_height = (0, 1000, 17),
bar_height = (0, 1000, 17),
border_width = (0, 1000, 4),
bar_separator_width = (0, 1000, 1),
}
pub const DEFAULT_FONT: &str = "monospace 8";