mirror of
https://github.com/godotengine/godot.git
synced 2025-02-01 06:31:54 +00:00
parent
8dc9e55707
commit
bbaf296948
@ -620,6 +620,7 @@ int Tabs::get_tab_width(int p_idx) const {
|
||||
|
||||
Ref<Texture> tex = tabs[p_idx].icon;
|
||||
if (tex.is_valid()) {
|
||||
x+=tex->get_width();
|
||||
if (tabs[p_idx].text!="")
|
||||
x+=get_constant("hseparation");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user