1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Fix the styling_engine example for the new ButtonStyle field

This commit is contained in:
Lucas Meurer
2026-08-21 16:22:15 +02:00
parent bf7a71d0da
commit 46fe9d73fa

View File

@@ -68,6 +68,7 @@ impl StyleProvider<ButtonStyle> for MyTheme {
.corner_radius(self.corner_radius) .corner_radius(self.corner_radius)
.inner_margin(8), .inner_margin(8),
text_style: base.text, text_style: base.text,
min_size: args.style.spacing.interact_size,
} }
} }
} }