Make clock time large and bold.
This commit is contained in:
parent
3ae58d42aa
commit
a1cdec0a24
@ -69,7 +69,14 @@ impl Widget for DateTimeWidget {
|
||||
None
|
||||
};
|
||||
|
||||
let mut data = Block::new().append_full_text(&time_string).clone();
|
||||
let time_string = format!(
|
||||
r#"<span size="x-large" weight="heavy">{}</span>"#,
|
||||
time_string
|
||||
);
|
||||
let mut data = Block::new()
|
||||
.append_full_text(&time_string)
|
||||
.use_pango()
|
||||
.clone();
|
||||
if let Some(color) = color {
|
||||
data.color(color);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user