提交修改
This commit is contained in:
@@ -39,7 +39,7 @@ namespace NBF
|
||||
}
|
||||
}
|
||||
|
||||
public void SetTabs(List<TabSubItemData> subItems, int selectIndex = 0)
|
||||
public void SetTabs(List<TabItemData> subItems, int selectIndex = 0)
|
||||
{
|
||||
List.RemoveChildrenToPool();
|
||||
var width = 0f;
|
||||
@@ -47,7 +47,8 @@ namespace NBF
|
||||
{
|
||||
var tabData = subItems[i];
|
||||
var tabItem = List.AddItemFromPool().asButton;
|
||||
tabItem.SetLanguage(tabData.Name);
|
||||
tabItem.SetLanguage(tabData.Key);
|
||||
|
||||
width += tabItem.width;
|
||||
if (i > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user