From aec1711e4a5974f651f2aeb81e8365252bed26bb Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 13 Jun 2019 18:53:06 -0700 Subject: expand the text boxes Signed-off-by: Jeff Carr --- entry.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/entry.go b/entry.go index 280ef5f..db5013a 100644 --- a/entry.go +++ b/entry.go @@ -69,16 +69,14 @@ func MakeEntryVbox(box *GuiBox, a string, startValue string, edit bool, action s } func MakeEntryHbox(box *GuiBox, a string, startValue string, edit bool, action string) *GuiEntry { - // Start 'Nickname' vertical box hboxN := ui.NewHorizontalBox() hboxN.SetPadded(true) hboxN.Append(ui.NewLabel(a), false) e := defaultMakeEntry(startValue, edit, action) - hboxN.Append(e.UiEntry, false) + hboxN.Append(e.UiEntry, true) - box.UiBox.Append(hboxN, false) - // End 'Nickname' vertical box + box.UiBox.Append(hboxN, true) return e } -- cgit v1.2.3