diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2010-12-30 15:53:13 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2010-12-30 15:53:13 +0200 |
commit | 2a9dc8ebacf5ec0177299c371746b649c105341e (patch) | |
tree | dc3c2823b9bfa9322c4f1dffe8693a2ed458c724 /COPYING.modifiedLGPL | |
parent | a8321078f063f5bff77721d1df691de68ceba50e (diff) | |
download | fpGUI-2a9dc8ebacf5ec0177299c371746b649c105341e.tar.xz |
TfpgWidget.MsgResize never considered constraints when calculating size deltas
Old behaviour calculated the size deltas, then applied the new sizes from
the received message. The new sizes were not guaranteed due to widget size
constraints that could be applied, which means the deltas could be wrong, which
in turn meant child components could be positioned incorrectly.
We now store the original size values in temp variables, apply the new sizes
which handles possible constraints, then only do we calculate the deltas, and
then pass those on to HandleAlignments().
Diffstat (limited to 'COPYING.modifiedLGPL')
0 files changed, 0 insertions, 0 deletions