Search in sources :

Example 1 with PanelBase

use of limelight.ui.model.PanelBase in project limelight by slagyr.

the class InputPanelLayout method doExpansion.

@Override
public void doExpansion(Panel thePanel) {
    PanelBase panel = (PanelBase) thePanel;
    Box bounds = panel.getParent().getChildConsumableBounds();
    panel.setLocation(bounds.x, bounds.y);
    panel.setSize(bounds.width, bounds.height);
}
Also used : PanelBase(limelight.ui.model.PanelBase) Box(limelight.util.Box)

Aggregations

PanelBase (limelight.ui.model.PanelBase)1 Box (limelight.util.Box)1