lxn / walk

A Windows GUI toolkit for the Go Programming Language
Other
6.8k stars 885 forks source link

TextEdit with CompactHeight becomes very thin #644

Closed harryjph closed 4 years ago

harryjph commented 4 years ago
Label{
    Text: "Input File:",
},
TextEdit{
    AssignTo: &inFile,
    CompactHeight: true,
},

Results in (when the TextEdit is empty) image

Typing in the box makes it go back to normal size.

image

Is the super thin TextEdit expected behaviour? I would expect it to have a constant height equivalent to its height when there is one line of text, otherwise it becomes difficult to select to enter text.

lxn commented 4 years ago

This should be fixed by https://github.com/lxn/walk/commit/7370661788f6e954d749d664908a26293a3d952d.

harryjph commented 4 years ago

It's fixed, thank you very much!