draw_rect(menu_rect, color=config.Colors.background);
menu_button_theme := default_button_theme;
- menu_button_theme.border_width = 2;
+ menu_button_theme.border_width = 0;
menu_button_theme.font_size = .9;
menu_button_theme.font = 0;
for option: options |> iter.from_array() |> iter.enumerate() {
button_rect, menu_rect = Flow.split_vertical(menu_rect, left_width=100);
- if button(button_rect, option.value.label, theme=^menu_button_theme, increment=option.index) {
+ if button(Flow.padding(button_rect, right=4), option.value.label, theme=^menu_button_theme, increment=option.index) {
option.value.action();
}
}