summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/kernel
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-11-01 20:30:50 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-11-20 20:48:59 +0100
commitc63669bb8c5169f8232151451b1095e2f3013d48 (patch)
tree5d14c51ff51a92e94e002265ea99e9aab15fe0c0 /tests/auto/gui/kernel
parenta31484302d71c29c0e0e62f9941f9d5f0c87f9aa (diff)
QLayout: add a way to unset user-defined contents margins
Once user-defined margins are set on a layout, there's no way to unset them, except by abusing setContentsMargins and passing -1, which is a total API abuse (does a negative margin mean that contents *overflow* the layout?). Add a proper function. [ChangeLog][QtWidgets][QLayout] Added unsetContentsMargins(). Change-Id: I089788a7470f9649a8f00e42914dafb7242f12cd Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Diffstat (limited to 'tests/auto/gui/kernel')
0 files changed, 0 insertions, 0 deletions