Skip to content

Commit cfb3ba3

Browse files
committed
Add button padding to context menu
1 parent 1755077 commit cfb3ba3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

egui/src/context_menu.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ impl MenuState {
329329
Style {
330330
spacing: Spacing {
331331
item_spacing: Vec2::ZERO,
332+
button_padding: crate::vec2(2.0, 0.0),
332333
..Default::default()
333334
},
334335
..Default::default()

0 commit comments

Comments
 (0)