diff options
author | Alexander Neumann <alexander.neumann@picos-software.com> | 2018-12-06 16:09:28 +0100 |
---|---|---|
committer | Alexander Neumann <alexander.neumann@picos-software.com> | 2018-12-06 16:09:28 +0100 |
commit | 1ab0dfd1668fd0b654810c85a802bc82dce7abc2 (patch) | |
tree | 13d2f1a7f04af5335a5ba88429a86c1611fe9a0a | |
parent | Labels: Let an embedded static control do the painting (diff) | |
download | wireguard-windows-1ab0dfd1668fd0b654810c85a802bc82dce7abc2.tar.xz wireguard-windows-1ab0dfd1668fd0b654810c85a802bc82dce7abc2.zip |
FormBase: Fix initial minimum size regression
-rw-r--r-- | form.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -529,6 +529,8 @@ func (fb *FormBase) Hide() { } func (fb *FormBase) Show() { + fb.proposedSize = fb.minSize + if p, ok := fb.window.(Persistable); ok && p.Persistent() && appSingleton.settings != nil { p.RestoreState() } |