summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-18 17:40:12 -0400
committerPietro Gagliardi <[email protected]>2014-10-18 17:40:29 -0400
commit55ca27a20d99dd4deb4474c6cebf594ea06ad802 (patch)
tree75a26f213a987b4de4e2514eefce2f2d5586b6b0
parent87af405d273ed9f6bb7e7315d84b92b37db19fa7 (diff)
Whoops, forgot to document NewStandaloneLabel()'s demise and amend the example program. Fixed.
-rw-r--r--README.md2
-rw-r--r--examples/widgetgallery/main.go2
2 files changed, 3 insertions, 1 deletions
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**<br>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**<br>The new GtkGrid-style Grid is now implemented! See its documentation for more details. Also, debugging spew has been removed.
**31 August 2014**<br>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())