Minimized form with only width constraint changes height to zero after WindowState:=wsNormal
Original Reporter info from Mantis: cobines
-
Reporter name:
Original Reporter info from Mantis: cobines
- Reporter name:
Description:
A form has Constraint.MinWidth > 0 but MinHeight is 0. After it is minimized and then restored with WindowState:=wsNormal, height is set to 0.
Minimizing can be done with either user clicking minimize button or with WindowState:=wsMinimized.
Restoring by clicking on restore button (on the caption bar) works - this was bug #19886 (closed), already fixed. However, restoring with WindowState:=Normal still has the effect of reducing height to 0.
Steps to reproduce:
- Run example. Press "WindowState:=wsMinimized" button.
- Press "WindowState:=wsNormal" button.
Mantis conversion info:
- Mantis ID: 21508
- Build: 36146
- Version: 0.9.31 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 36184 (#a152f6fb)
- Monitored by: » januszt29@interia.pl (Janusz Tomczak)