void () { int total = getSizeForComp(this); if (myFirstIsFixed) { float fixedProportion = ((float)myFirstFixedSize) / (total - getDividerWidth()); myProportion = MathUtil.clamp(fixedProportion, 0.05f, 0.95f); } super.doLayout(); }