1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00

Increase default text size from 12.5 to 13.0 (#7521)

This commit is contained in:
Emil Ernerfeldt
2025-09-09 15:47:24 +02:00
committed by GitHub
parent ec5bc35c38
commit 72b9b9d750
132 changed files with 267 additions and 267 deletions

View File

@@ -1307,10 +1307,10 @@ pub fn default_text_styles() -> BTreeMap<TextStyle, FontId> {
[
(TextStyle::Small, FontId::new(9.0, Proportional)),
(TextStyle::Body, FontId::new(12.5, Proportional)),
(TextStyle::Button, FontId::new(12.5, Proportional)),
(TextStyle::Body, FontId::new(13.0, Proportional)),
(TextStyle::Button, FontId::new(13.0, Proportional)),
(TextStyle::Heading, FontId::new(18.0, Proportional)),
(TextStyle::Monospace, FontId::new(12.0, Monospace)),
(TextStyle::Monospace, FontId::new(13.0, Monospace)),
]
.into()
}
@@ -1330,7 +1330,7 @@ impl Default for Style {
spacing: Spacing::default(),
interaction: Interaction::default(),
visuals: Visuals::default(),
animation_time: 1.0 / 12.0,
animation_time: 6.0 / 60.0, // If we make this too slow, it will be too obvious that our panel animations look like shit :(
#[cfg(debug_assertions)]
debug: Default::default(),
explanation_tooltips: false,
@@ -1437,7 +1437,7 @@ impl Visuals {
striped: false,
slider_trailing_fill: false,
handle_shape: HandleShape::Circle,
handle_shape: HandleShape::Rect { aspect_ratio: 0.75 },
interact_cursor: None,