From 0496cf77b52e1713749fe40a8ef1b22f4918ad1d Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 4 Aug 2014 13:13:59 -0400 Subject: Changed Tab on Windows to store each control in a *layout (see previous commit). Now I can throw out containerShow()/containerHide()/Show()/Hide(). This also will let me do the right thing with sizer and dialog base units again, and even get rid of sizer's confusion once and for all! --- redo/containerctrls.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'redo/containerctrls.go') diff --git a/redo/containerctrls.go b/redo/containerctrls.go index ec44501..9b0c0b1 100644 --- a/redo/containerctrls.go +++ b/redo/containerctrls.go @@ -4,8 +4,8 @@ package ui // Tab is a Control that contains multiple pages of tabs, each containing a single Control. // You can add and remove tabs from the Tab at any time. -// TODO rename? -// TODO implement containerShow()/containerHide() on this +// +// [TODO if each tab of your Tab is going to have the same content Controls, then use LikeTab instead, to conserve resources] type Tab interface { Control -- cgit v1.2.3