mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Fixed automatic table resize. This fixes bug #0000023.
This commit is contained in:
parent
5ec06b4b27
commit
e09060faca
3 changed files with 5 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ void TableZone::resizeToContents()
|
|||
if (xMax < minWidth)
|
||||
xMax = minWidth;
|
||||
currentMinimumWidth = xMax + 2 * marginX + 2 * boxLineWidth;
|
||||
if (currentMinimumWidth > width) {
|
||||
if (currentMinimumWidth != width) {
|
||||
prepareGeometryChange();
|
||||
width = currentMinimumWidth;
|
||||
emit sizeChanged();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue