From 55ca27a20d99dd4deb4474c6cebf594ea06ad802 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 18 Oct 2014 17:40:12 -0400 Subject: [PATCH] Whoops, forgot to document NewStandaloneLabel()'s demise and amend the example program. Fixed. --- README.md | 2 ++ examples/widgetgallery/main.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 47a4634..7dbc626 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ The in-code documentation needs improvement. I have written a [tutorial](https:/ **18 October 2014**
The container system was rewritten entirely. You can now set a margin on Windows and Groups and spacing between controls ("padding") on Stacks, Grids, and SimpleGrids. Margins on Tabs will come soon. The work needed to change this will make future additions (like Popover and Spinbox) easier/more sensible. (The Mac OS X code is still glitchy; mind the dust.) +As part of the change, standalone Labels have been removed. All Labels now behave like standalone labels. A new layout container, Form, will be introduced in the near future to allow proper layout of widgets with labels. + **3 September 2014**
The new GtkGrid-style Grid is now implemented! See its documentation for more details. Also, debugging spew has been removed. **31 August 2014**
Grid is now renamed SimpleGrid in preparation for implementing a more [GtkGrid](https://developer.gnome.org/gtk3/unstable/GtkGrid.html)-like Grid. Mind the change. diff --git a/examples/widgetgallery/main.go b/examples/widgetgallery/main.go index 93b1f4b..c0c811a 100644 --- a/examples/widgetgallery/main.go +++ b/examples/widgetgallery/main.go @@ -28,7 +28,7 @@ func initGUI() { tf.SetText("Text Field") pf := ui.NewPasswordField() pf.SetText("Password Field") - l := ui.NewStandaloneLabel("Label") + l := ui.NewLabel("Label") t := ui.NewTab() t.Append("Tab 1", ui.Space())