public override void doLayout() { base.doLayout(); icon.alignTop(); icon.Set_Height(title.Get_Height()); title.alignTop(); title.moveRightOf(icon); //title.FloodX(); collapser.moveBelow(title); }
private void Top_wrapper_onLayout(uiPanel c) { btn_store.alignLeftSide(); btn_donate.alignRightSide(); btn_donate.Set_Height(btn_store.Get_Height());// eh, match the store buttons height... }