Horloges grandes

This commit is contained in:
2026-08-30 11:35:07 +02:00
parent 39620a8a66
commit 3861dd7fb6
3 changed files with 113 additions and 63 deletions
+3 -3
View File
@@ -15,7 +15,7 @@ pub fn main() -> iced::Result {
)
.subscription(WorldClocksApp::subscription)
.window(iced::window::Settings {
size: iced::Size { width: 1400.0, height: 320.0 },
size: iced::Size { width: 1600.0, height: 320.0 },
..Default::default()
})
.run_with(WorldClocksApp::new)
@@ -86,7 +86,7 @@ impl WorldClocksApp {
);
}
// Horloge analogique graphique
// Horloge analogique graphique (1.5x)
col = col.push(clock::view_clock(local_time));
// Horloge numérique
@@ -98,7 +98,7 @@ impl WorldClocksApp {
);
let boxed_clock = container(col)
.width(Length::Fixed(125.0))
.width(Length::Fixed(160.0))
.padding(8)
.style(|_theme: &Theme| container::Style {
background: Some(iced::Background::Color(Color::from_rgb(0.12, 0.12, 0.15))),