Skip to content

Commit

Permalink
Add button padding to context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mankinskin committed Jul 23, 2021
1 parent 1755077 commit cfb3ba3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions egui/src/context_menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ impl MenuState {
Style {
spacing: Spacing {
item_spacing: Vec2::ZERO,
button_padding: crate::vec2(2.0, 0.0),
..Default::default()
},
..Default::default()
Expand Down

0 comments on commit cfb3ba3

Please sign in to comment.