Resolved vertical alignment of labels on Windows.

This commit is contained in:
Pietro Gagliardi 2014-06-09 17:28:12 -04:00
parent 2a878f0e91
commit bd2317777e
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ var classTypes = [nctypes]*classData{
c_label: &classData{
name: toUTF16("STATIC"),
// SS_NOPREFIX avoids accelerator translation; SS_LEFTNOWORDWRAP clips text past the end
// TODO find out if the default behavior is vertically align to top
// controls are vertically aligned to the top by default (thanks Xeek in irc.freenode.net/#winapi)
style: _SS_NOPREFIX | _SS_LEFTNOWORDWRAP | controlstyle,
xstyle: 0 | controlxstyle,
},