cool
This commit is contained in:
@@ -81,7 +81,10 @@ namespace BITKit.UX
|
||||
else
|
||||
{
|
||||
var label = instance.Create<Label>();
|
||||
label.text = array[x].ToString();
|
||||
|
||||
var text = array[x].ToString().Replace(@"\r\n", @"\n").Replace(@"\r", @"\n");
|
||||
|
||||
label.text = text;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -107,7 +107,8 @@ namespace BITKit.UX
|
||||
var index = i;
|
||||
var button = _buttons[i] = this.Create<Button>();
|
||||
button.AddToClassList("v"+i);
|
||||
button.text = tabName;
|
||||
button.AddToClassList("localized");
|
||||
button.text = button.viewDataKey = tabName;
|
||||
button.focusable = allowFocus;
|
||||
button.clicked += () => CurrentTab = index;
|
||||
}
|
||||
|
Reference in New Issue
Block a user