From d6ae3afeb4b5e9550f6c6b088ba30265d2a9c1a9 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 16 Oct 2014 19:35:50 -0400 Subject: Added margined to Group and reworked the test. Now for spacing. --- newctrl/basicctrls.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'newctrl/basicctrls.go') diff --git a/newctrl/basicctrls.go b/newctrl/basicctrls.go index 5b28975..1ef720b 100644 --- a/newctrl/basicctrls.go +++ b/newctrl/basicctrls.go @@ -110,6 +110,11 @@ type Group interface { // Text and SetText get and set the Group's label text. Text() string SetText(text string) + + // Margined and SetMargined get and set whether the contents of the Group have a margin around them. + // The size of the margin is platform-dependent. + Margined() bool + SetMargined(margined bool) } // NewGroup creates a new Group with the given text label and child Control. -- cgit v1.2.3