summaryrefslogtreecommitdiff
path: root/newctrl/basicctrls.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-16 19:35:50 -0400
committerPietro Gagliardi <[email protected]>2014-10-16 19:35:50 -0400
commitd6ae3afeb4b5e9550f6c6b088ba30265d2a9c1a9 (patch)
tree52164cbaa68db6f8649f21bf5eba53d8847660a8 /newctrl/basicctrls.go
parent7ea98fce723f7cc2710317f4b09cfb812a2a38bc (diff)
Added margined to Group and reworked the test. Now for spacing.
Diffstat (limited to 'newctrl/basicctrls.go')
-rw-r--r--newctrl/basicctrls.go5
1 files changed, 5 insertions, 0 deletions
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.