diff options
| author | Axel Spoerl <axel.spoerl@qt.io> | 2022-12-26 10:28:55 +0100 |
|---|---|---|
| committer | Axel Spoerl <axel.spoerl@qt.io> | 2022-12-29 14:53:50 +0100 |
| commit | e29ffd3bd13dbc1e808cfc4f7764878f855d1a62 (patch) | |
| tree | e5c802fd2e4e53a4750e21bb52bb463c1fbf1934 /src/plugins/sqldrivers/db2/qsql_db2.cpp | |
| parent | c69e727274adae7d3943587091254696c46fb75b (diff) | |
Fix size calculation of unplugged dock widgets
When unplugging a dock widget, it still grows by the separator size
when dragged upwards or to the left. The unplugged dock widget's size
can become too small to drag it or to access window handles.
This patch corrects the size offset for all drag directions. It expands
the target size to a minimum size, making sure that title bar and
window handles can be accessed after unplugging.
Fixes: QTBUG-106531
Pick-to: 6.5 6.4 6.2
Change-Id: Ie771a9338ebfb4c0eafd3b3b4205de730cbd20ac
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/db2/qsql_db2.cpp')
0 files changed, 0 insertions, 0 deletions
