mirror of
https://github.com/originalnicodr/CinematicUnityExplorer.git
synced 2026-10-11 09:58:02 +08:00
Cleanup runtime-specific
This commit is contained in:
1 parent
c2d9b9b59e
commit
2cc403ad17
29 files changed
+362
-288
No files matched your search
@@ -56,8 +56,12 @@ namespace UnityExplorer.UI.CacheObject
|
||||
|
||||
var rowObj = UIFactory.CreateHorizontalGroup(m_mainContent, "PairedGroup", false, false, true, true, 0, new Vector4(0,0,5,2),
|
||||
bgColor);
|
||||
|
||||
var indexLabel = UIFactory.CreateLabel(rowObj, "IndexLabel", $"{this.PairType} {this.Index}:", TextAnchor.MiddleLeft);
|
||||
|
||||
string lbl = $"{this.PairType}";
|
||||
if (this.PairType == PairTypes.Key)
|
||||
lbl = $"[{Index}] {lbl}";
|
||||
|
||||
var indexLabel = UIFactory.CreateLabel(rowObj, "IndexLabel", lbl, TextAnchor.MiddleLeft);
|
||||
UIFactory.SetLayoutElement(indexLabel.gameObject, minWidth: 80, flexibleWidth: 30, minHeight: 25);
|
||||
|
||||
IValue.m_mainContentParent = rowObj;
|
||||
|
||||
Reference in new issue
Block a user