You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix no padding between icon and text in TabContainer
This commit is contained in:
@@ -420,7 +420,7 @@ void TabContainer::_draw_tab(Ref<StyleBox> &p_tab_style, Color &p_font_color, in
|
|||||||
Vector<Control *> tabs = _get_tabs();
|
Vector<Control *> tabs = _get_tabs();
|
||||||
RID canvas = get_canvas_item();
|
RID canvas = get_canvas_item();
|
||||||
Ref<Font> font = get_font("font");
|
Ref<Font> font = get_font("font");
|
||||||
int icon_text_distance = get_constant("icon_separation");
|
int icon_text_distance = get_constant("hseparation");
|
||||||
int tab_width = _get_tab_width(p_index);
|
int tab_width = _get_tab_width(p_index);
|
||||||
int header_height = _get_top_margin();
|
int header_height = _get_top_margin();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user