Resolved vertical alignment of labels on Windows.
This commit is contained in:
parent
2a878f0e91
commit
bd2317777e
|
@ -86,7 +86,7 @@ var classTypes = [nctypes]*classData{
|
||||||
c_label: &classData{
|
c_label: &classData{
|
||||||
name: toUTF16("STATIC"),
|
name: toUTF16("STATIC"),
|
||||||
// SS_NOPREFIX avoids accelerator translation; SS_LEFTNOWORDWRAP clips text past the end
|
// 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,
|
style: _SS_NOPREFIX | _SS_LEFTNOWORDWRAP | controlstyle,
|
||||||
xstyle: 0 | controlxstyle,
|
xstyle: 0 | controlxstyle,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue