// attachQuestionToTable is a helper method that attaches a GUIQuestion to the supplied box func attachQuestionToTable(table *ui.Box, question *GUIQuestion) { table.Append(question.Label, false) table.Append(question.Element, false) table.Append(question.ErrorLabel, false) }