Reduce width of arrow icons for the default theme in PopupMenu
This commit is contained in:
parent
3b57c2ce6b
commit
c088e2f416
3 changed files with 4 additions and 2 deletions
|
@ -649,8 +649,8 @@ void fill_default_theme(Ref<Theme> &theme, const Ref<Font> &default_font, const
|
|||
theme->set_icon("unchecked", "PopupMenu", icons["unchecked"]);
|
||||
theme->set_icon("radio_checked", "PopupMenu", icons["radio_checked"]);
|
||||
theme->set_icon("radio_unchecked", "PopupMenu", icons["radio_unchecked"]);
|
||||
theme->set_icon("submenu", "PopupMenu", icons["arrow_right"]);
|
||||
theme->set_icon("submenu_mirrored", "PopupMenu", icons["arrow_left"]);
|
||||
theme->set_icon("submenu", "PopupMenu", icons["popup_menu_arrow_right"]);
|
||||
theme->set_icon("submenu_mirrored", "PopupMenu", icons["popup_menu_arrow_left"]);
|
||||
|
||||
theme->set_font("font", "PopupMenu", Ref<Font>());
|
||||
theme->set_font_size("font_size", "PopupMenu", -1);
|
||||
|
|
1
scene/resources/default_theme/popup_menu_arrow_left.svg
Normal file
1
scene/resources/default_theme/popup_menu_arrow_left.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg clip-rule="evenodd" fill-rule="evenodd" height="16" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 8 16" width="8" xmlns="http://www.w3.org/2000/svg"><path d="m5.4999793 11-3-3 3-3" fill="none" stroke="#b2b2b2" stroke-opacity=".45" stroke-width="2"/></svg>
|
After Width: | Height: | Size: 275 B |
1
scene/resources/default_theme/popup_menu_arrow_right.svg
Normal file
1
scene/resources/default_theme/popup_menu_arrow_right.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg clip-rule="evenodd" fill-rule="evenodd" height="16" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 8 16" width="8" xmlns="http://www.w3.org/2000/svg"><path d="m2.5000207 11 3-3-3-3" fill="none" stroke="#b2b2b2" stroke-opacity=".45" stroke-width="2"/></svg>
|
After Width: | Height: | Size: 275 B |
Loading…
Reference in a new issue