1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-03 19:11:41 +00:00

Merge pull request #113587 from syntaxerror247/popup-menu-seperation

Increase PopupMenu vertical separation to improve touch usability
This commit is contained in:
Rémi Verschelde
2025-12-05 12:56:01 +01:00
4 changed files with 5 additions and 4 deletions

View File

@@ -7764,7 +7764,6 @@ void EditorNode::_update_main_menu_type() {
#ifdef ANDROID_ENABLED
// Align main menu icon visually with TouchActionsPanel buttons.
main_menu_button->get_popup()->add_theme_constant_override("v_separation", 16 * EDSCALE);
menu_btn_spacer = memnew(Control);
menu_btn_spacer->set_custom_minimum_size(Vector2(8, 0) * EDSCALE);
title_bar->add_child(menu_btn_spacer);