diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-16 18:41:17 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-16 18:41:17 -0400 |
| commit | 3084d0f243299b40ebdaf2f0310f315e4987705a (patch) | |
| tree | cde5115c080fab26d7958981d426d685b623f759 /newctrl/label_windows.go | |
| parent | 634ef7d4d9f96a556962167e2cd3d839f8528d5c (diff) | |
Implemented tabbing properly. Tab order still backwards.
Diffstat (limited to 'newctrl/label_windows.go')
| -rw-r--r-- | newctrl/label_windows.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newctrl/label_windows.go b/newctrl/label_windows.go index f926081..61d842f 100644 --- a/newctrl/label_windows.go +++ b/newctrl/label_windows.go @@ -22,6 +22,10 @@ func newLabel(text string) Label { controlSingleHWNDWithText: newControlSingleHWNDWithText(hwnd), } l.fpreferredSize = l.preferredSize + l.fnTabStops = func() int { + // labels are not tab stops + return 0 + } l.SetText(text) C.controlSetControlFont(l.hwnd) return l |
