@Test public void test_settingProportionsSetsTopHolderHeight() { vSplitLayout.setProportions(0.3d); assertEquals("30%", vSplitLayout.getMember(0).getHeightAsString()); }
public void setProportions(double proportion) { top.setHeight(((int) (proportion * 100)) + "%"); }
VSplitLayout extends VLayout { public void setProportions(double proportion) { top.setHeight(((int) (proportion * 100)) + "%"); } }
VSplitLayout extends VLayout { public void setProportions(double proportion) { top.setHeight(((int) (proportion * 100)) + "%"); } VSplitLayout(); }
VSplitLayout extends VLayout { public void setProportions(double proportion) { top.setHeight(((int) (proportion * 100)) + "%"); } VSplitLayout(); static Builder buildVSplitLayout(); void setProportions(double proportion); Canvas getTopMember(); void setTopMember(Canvas member); Canvas getBottomMember(); void setBottomMember(Canvas member); }
VSplitLayout extends VLayout { public void setProportions(double proportion) { top.setHeight(((int) (proportion * 100)) + "%"); } VSplitLayout(); static Builder buildVSplitLayout(); void setProportions(double proportion); Canvas getTopMember(); void setTopMember(Canvas member); Canvas getBottomMember(); void setBottomMember(Canvas member);  }