diff --git a/TableWidgets.go b/TableWidgets.go index 6bcd37f0..dfd4b44f 100644 --- a/TableWidgets.go +++ b/TableWidgets.go @@ -111,7 +111,7 @@ var _ Widget = &TableWidget{} // TableWidget is a table widget. // - Call Table to create new // - Then use Rows method to add content -// - Use Columns method to configure columns (optional) +// - Use Columns method to configure columns (optional). type TableWidget struct { id ID flags TableFlags diff --git a/Widgets.go b/Widgets.go index 78de70d9..9c68fa60 100644 --- a/Widgets.go +++ b/Widgets.go @@ -67,7 +67,7 @@ type ChildWidget struct { layout Layout } -// Child creates a new ChildWidget +// Child creates a new ChildWidget. func Child() *ChildWidget { return &ChildWidget{ id: GenAutoID("Child"), @@ -80,7 +80,7 @@ func Child() *ChildWidget { } // Border sets whether child should have border -// You can use imgui.ChildFlagsBorders as well +// You can use imgui.ChildFlagsBorders as well. func (c *ChildWidget) Border(border bool) *ChildWidget { c.border = border return c