diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-16 15:44:30 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-16 15:44:30 -0400 |
| commit | 31fd8a34dfed35972bc799e6ef9f5911aec46cc2 (patch) | |
| tree | 7353e04dfcc230f574c66a4fe782887712ced805 /newctrl/tab_windows.go | |
| parent | 7c9c51a0832b90fbd2e1c35ed0ba3f547911a31e (diff) | |
Made Tab containers children of the Tab.
Diffstat (limited to 'newctrl/tab_windows.go')
| -rw-r--r-- | newctrl/tab_windows.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newctrl/tab_windows.go b/newctrl/tab_windows.go index af642ea..befed44 100644 --- a/newctrl/tab_windows.go +++ b/newctrl/tab_windows.go @@ -39,6 +39,7 @@ func newTab() Tab { func (t *tab) Append(name string, control Control) { c := newContainer() control.setParent(&controlParent{c.hwnd}) + c.setParent(&controlParent{t.hwnd}) t.tabs = append(t.tabs, c) t.children = append(t.children, control) // initially hide tab 1..n controls; if we don't, they'll appear over other tabs, resulting in weird behavior |
