Fix no padding between icon and text in TabContainer

This commit is contained in:
volzhs 2020-11-30 11:36:57 +09:00
parent 8e10e33762
commit efade4034b
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ void TabContainer::_draw_tab(Ref<StyleBox> &p_tab_style, Color &p_font_color, in
Vector<Control *> tabs = _get_tabs();
RID canvas = get_canvas_item();
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 header_height = _get_top_margin();