mirror of
https://gitlab.com/erkanisik/yali-rs.git
synced 2026-09-26 23:13:44 +00:00
refactor: extract ComboBox styling into dedicated module, add location step
- Create src/ui/combobox.rs with helper functions (show_combo_box, selectable_value, selectable_value_custom) - Create src/ui/combobox_stil.rs with ComboBox visual constants (weak_bg_fill, text/border colors) - Move theme.rs ComboBox visuals (weak_bg_fill, fg_stroke, bg_stroke) into combobox_stil::apply_visuals - Move LocationStep from installer.rs to src/steps/location.rs - Re-register LocationStep in steps/mod.rs - Update all ComboBox usages across steps (bootloader, display_manager, partition, funct) to use theme::show_combo_box / selectable_value - Replace manual mesh drawing in language selector with combobox helper - Add region/timezone i18n keys - Vertical-align region/zone labels to match ComboBox height
This commit is contained in:
+2
-2
@@ -6,8 +6,8 @@ mod autoinstall;
|
||||
mod branding;
|
||||
mod funct;
|
||||
|
||||
use installer::{GlobalState, InstallerStep, WelcomeStep, LocationStep};
|
||||
use steps::{KeyboardStep, UsersStep, SummaryStep, ExecutionStep, FinishStep, PartitionStep, BootloaderStep, NetworkStep, DisplayManagerStep};
|
||||
use installer::{GlobalState, InstallerStep, WelcomeStep};
|
||||
use steps::{LocationStep, KeyboardStep, UsersStep, SummaryStep, ExecutionStep, FinishStep, PartitionStep, BootloaderStep, NetworkStep, DisplayManagerStep};
|
||||
use eframe::egui;
|
||||
use rust_i18n::t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user