mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Adjust font sizes again
This commit is contained in:
@@ -31,7 +31,7 @@ impl Fonts {
|
|||||||
pub fn new(pixels_per_point: f32) -> Fonts {
|
pub fn new(pixels_per_point: f32) -> Fonts {
|
||||||
let mut sizes = FontSizes::new();
|
let mut sizes = FontSizes::new();
|
||||||
sizes.insert(TextStyle::Body, 16.0);
|
sizes.insert(TextStyle::Body, 16.0);
|
||||||
sizes.insert(TextStyle::Button, 20.0);
|
sizes.insert(TextStyle::Button, 18.0);
|
||||||
sizes.insert(TextStyle::Heading, 28.0);
|
sizes.insert(TextStyle::Heading, 28.0);
|
||||||
Fonts::from_sizes(sizes, pixels_per_point)
|
Fonts::from_sizes(sizes, pixels_per_point)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user