summaryrefslogtreecommitdiffstats
path: root/core/src/renderer
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-03-30 00:56:00 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-03-30 00:56:00 +0200
commit707de9d788dc3c49d4ac57a19afac1bb938b78d9 (patch)
treea1f38efa232742f375afae751d433276a83f7e49 /core/src/renderer
parent472fbdf1875e82bc89ac0bbd4b2ff09cae1d9620 (diff)
downloadiced-707de9d788dc3c49d4ac57a19afac1bb938b78d9.tar.gz
iced-707de9d788dc3c49d4ac57a19afac1bb938b78d9.tar.bz2
iced-707de9d788dc3c49d4ac57a19afac1bb938b78d9.zip
Introduce support for `Font` attributes
Diffstat (limited to 'core/src/renderer')
-rw-r--r--core/src/renderer/null.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/renderer/null.rs b/core/src/renderer/null.rs
index d93338ae..88c58825 100644
--- a/core/src/renderer/null.rs
+++ b/core/src/renderer/null.rs
@@ -42,12 +42,12 @@ impl Renderer for Null {
impl text::Renderer for Null {
type Font = Font;
- const ICON_FONT: Font = Font::SansSerif;
+ const ICON_FONT: Font = Font::DEFAULT;
const CHECKMARK_ICON: char = '0';
const ARROW_DOWN_ICON: char = '0';
fn default_font(&self) -> Self::Font {
- Font::SansSerif
+ Font::default()
}
fn default_size(&self) -> f32 {