Horloges grandes
This commit is contained in:
+3
-3
@@ -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))),
|
||||
|
||||
Reference in New Issue
Block a user