Skip to content

Commit

Permalink
forward the force flag
Browse files Browse the repository at this point in the history
refs #441
  • Loading branch information
tomsontom committed Jan 19, 2022
1 parent 7a1c701 commit 1d7f6e5
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -265,14 +265,14 @@ void layoutChildren(boolean force) {
if( ! hasFixedChild() ) {
layoutSimple(x,y,w,h);
} else {
layoutWithFixedChild(x,y,w,h);
layoutWithFixedChild(x,y,w,h,force);
}

this.clientArea = b;
syncWeightProperty();
}

private void layoutWithFixedChild(int _x, int _y, int _w, int _h) {
private void layoutWithFixedChild(int _x, int _y, int _w, int _h, boolean force) {
int x = _x;
int y = _y;
int w = _w;
Expand Down Expand Up @@ -323,11 +323,11 @@ private void layoutWithFixedChild(int _x, int _y, int _w, int _h) {
}
}
} else {
layoutWithFixedChildComplex(_x, _y, _w, _h);
layoutWithFixedChildComplex(_x, _y, _w, _h, force);
}
}

private void layoutWithFixedChildComplex(int _x, int _y, int _w, int _h) {
private void layoutWithFixedChildComplex(int _x, int _y, int _w, int _h, boolean force) {
int x = _x;
int y = _y;
int w = _w;
Expand Down

0 comments on commit 1d7f6e5

Please sign in to comment.