public override void doLayout() { base.doLayout(); btn_config.alignTop(); btn_config.alignLeftSide(); float xPad = 5f; lbl_search.alignTop(10f); lbl_search.moveRightOf(statusPanel, xPad); search.alignTop(10f); search.moveRightOf(lbl_search); search.FloodX(12f); if (search.Area.size.y != lbl_search.Area.size.y) { lbl_search.Set_Height(search.Area.size.y); } statusPanel.moveBelow(search, 10f); statusPanel.FloodY(); lbl_pl_count.alignLeftSide(5f); lbl_pl_count.moveBelow(btn_config, 2f); tabPanel.moveBelow(search, 10f); tabPanel.moveRightOf(statusPanel, 2f); tabPanel.FloodXY(); }
private void PluginManager_onLayout(uiPanel c) { list.alignLeftSide(); control_panel.moveBelow(top_wrapper); control_panel.moveRightOf(list); list.moveBelow(top_wrapper); list.FloodY(); tabPanel.moveBelow(control_panel); tabPanel.moveRightOf(list); tabPanel.FloodXY(); }