setGeometry assigns now the full widget size to the double_flatline_mask
This commit is contained in:
parent
be96aea0d8
commit
817e033d57
|
@ -1,3 +1,7 @@
|
||||||
|
2016-09-02 Markus Gans <guru.mail@muenster.de>
|
||||||
|
* Method setGeometry assigns now the full widget size to
|
||||||
|
the double_flatline_mask (previously, it was the adjust size)
|
||||||
|
|
||||||
2016-08-28 Markus Gans <guru.mail@muenster.de>
|
2016-08-28 Markus Gans <guru.mail@muenster.de>
|
||||||
* Remove obsolete code from FDialog
|
* Remove obsolete code from FDialog
|
||||||
* An incorrect parameter can now return an error message
|
* An incorrect parameter can now return an error message
|
||||||
|
|
|
@ -1867,6 +1867,7 @@ void FWidget::setGeometry (int x, int y, int w, int h, bool adjust)
|
||||||
xpos = x;
|
xpos = x;
|
||||||
ypos = y;
|
ypos = y;
|
||||||
}
|
}
|
||||||
|
|
||||||
(w > 0) ? width = w : width = 1;
|
(w > 0) ? width = w : width = 1;
|
||||||
(h > 0) ? height = h : height = 1;
|
(h > 0) ? height = h : height = 1;
|
||||||
|
|
||||||
|
@ -1884,13 +1885,13 @@ void FWidget::setGeometry (int x, int y, int w, int h, bool adjust)
|
||||||
, height );
|
, height );
|
||||||
adjustWidgetSizeGlobalShadow = adjustWidgetSizeGlobal + shadow;
|
adjustWidgetSizeGlobalShadow = adjustWidgetSizeGlobal + shadow;
|
||||||
|
|
||||||
if ( adjust )
|
|
||||||
adjustSize();
|
|
||||||
|
|
||||||
double_flatline_mask.top.resize (uLong(width), false);
|
double_flatline_mask.top.resize (uLong(width), false);
|
||||||
double_flatline_mask.right.resize (uLong(height), false);
|
double_flatline_mask.right.resize (uLong(height), false);
|
||||||
double_flatline_mask.bottom.resize (uLong(width), false);
|
double_flatline_mask.bottom.resize (uLong(width), false);
|
||||||
double_flatline_mask.left.resize (uLong(height), false);
|
double_flatline_mask.left.resize (uLong(height), false);
|
||||||
|
|
||||||
|
if ( adjust )
|
||||||
|
adjustSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue