Example #1
0
 public UncategorizedFilterableRow(UncategorizedFilterableControl control)
 {
     Parent     = control ?? throw new ArgumentNullException("parent");
     entities   = new List <UncategorizedFilterableEntity>(16);
     ChildPanel = new PPanel("Children")
     {
         Direction = PanelDirection.Horizontal,
         Alignment = TextAnchor.MiddleLeft,
         Spacing   = CARD_SPACING,
         Margin    = new RectOffset(0, 0, 0, 0)
     }.Build();
     //ChildPanel.transform.localScale = Vector3.zero;
 }
Example #2
0
 private void InitSideScreen()
 {
     control          = new UncategorizedFilterableControl();
     ContentContainer = control.RootPanel.AddTo(gameObject, 0);
     gameObject.SetMinUISize(UncategorizedFilterableControl.PANEL_SIZE);
 }