Adjust default list size

This commit is contained in:
Jeremy Soller 2024-07-11 10:12:07 -06:00
parent a3ea6d5197
commit 010e1a977d
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
2 changed files with 2 additions and 2 deletions

View file

@ -801,7 +801,7 @@ impl App {
widget::settings::item::builder(fl!("icon-size-list")) widget::settings::item::builder(fl!("icon-size-list"))
.description(format!("{}%", list)) .description(format!("{}%", list))
.control( .control(
widget::slider(100..=500, list, move |list| { widget::slider(75..=500, list, move |list| {
Message::TabConfig(TabConfig { Message::TabConfig(TabConfig {
icon_sizes: IconSizes { icon_sizes: IconSizes {
list: NonZeroU16::new(list).unwrap(), list: NonZeroU16::new(list).unwrap(),

View file

@ -15,7 +15,7 @@ use super::tab::HeadingOptions;
pub const CONFIG_VERSION: u64 = 1; pub const CONFIG_VERSION: u64 = 1;
// Default icon sizes // Default icon sizes
pub const ICON_SIZE_LIST: u16 = 24; pub const ICON_SIZE_LIST: u16 = 32;
pub const ICON_SIZE_LIST_CONDENSED: u16 = 48; pub const ICON_SIZE_LIST_CONDENSED: u16 = 48;
pub const ICON_SIZE_GRID: u16 = 64; pub const ICON_SIZE_GRID: u16 = 64;
// TODO: 5 is an arbitrary number. Maybe there's a better icon size max // TODO: 5 is an arbitrary number. Maybe there's a better icon size max