Fixed Windows Table font.
This commit is contained in:
parent
8730cbf1c4
commit
c1256afd01
|
@ -38,6 +38,8 @@ func finishNewTable(b *tablebase, ty reflect.Type) Table {
|
||||||
t.chainresize = t.fresize
|
t.chainresize = t.fresize
|
||||||
t.fresize = t.xresize
|
t.fresize = t.xresize
|
||||||
C.setTableSubclass(t.hwnd, unsafe.Pointer(t))
|
C.setTableSubclass(t.hwnd, unsafe.Pointer(t))
|
||||||
|
// TODO listview didn't need this; someone mentioned (TODO) it uses the small caption font???
|
||||||
|
C.controlSetControlFont(t.hwnd)
|
||||||
for i := 0; i < ty.NumField(); i++ {
|
for i := 0; i < ty.NumField(); i++ {
|
||||||
coltype := C.WPARAM(C.tableColumnText)
|
coltype := C.WPARAM(C.tableColumnText)
|
||||||
switch {
|
switch {
|
||||||
|
|
Loading…
Reference in New Issue