summaryrefslogtreecommitdiffstats
path: root/src/application.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-06-19 00:08:28 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-06-19 00:16:22 +0200
commitb3c192a2e478e9f2a101aecb417e316ed6900a80 (patch)
treeaebde6403c3a6cef9566cca64e185272fcbbfcbd /src/application.rs
parentd19c02035ff5e4a895868023bd67f3df1f5d7007 (diff)
downloadiced-b3c192a2e478e9f2a101aecb417e316ed6900a80.tar.gz
iced-b3c192a2e478e9f2a101aecb417e316ed6900a80.tar.bz2
iced-b3c192a2e478e9f2a101aecb417e316ed6900a80.zip
Make default text size configurable in `Settings`
Diffstat (limited to 'src/application.rs')
-rw-r--r--src/application.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/application.rs b/src/application.rs
index 2de67eb0..b9b71645 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -202,6 +202,7 @@ pub trait Application: Sized {
{
let renderer_settings = crate::renderer::Settings {
default_font: settings.default_font,
+ default_text_size: settings.default_text_size,
antialiasing: if settings.antialiasing {
Some(crate::renderer::settings::Antialiasing::MSAAx4)
} else {