summaryrefslogtreecommitdiff
path: root/redo
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-05 20:43:56 -0400
committerPietro Gagliardi <[email protected]>2014-08-05 20:43:56 -0400
commit03f2873f686ac6d18ddf1d1e6e68b097e33533d4 (patch)
tree9a493086048e5770f89375c7ec780a7d43b0810b /redo
parent045f8859f742c981b5d3208accb997c79f241e4c (diff)
Set vertical alignment of Labels next to Areas on GTK+.
Diffstat (limited to 'redo')
-rw-r--r--redo/area_unix.go3
-rw-r--r--redo/table_unix.go1
2 files changed, 2 insertions, 2 deletions
diff --git a/redo/area_unix.go b/redo/area_unix.go
index cc9fe73..b6c70cb 100644
--- a/redo/area_unix.go
+++ b/redo/area_unix.go
@@ -406,5 +406,6 @@ func (a *area) commitResize(c *allocation, d *sizing) {
}
func (a *area) getAuxResizeInfo(d *sizing) {
- basegetAuxResizeInfo(a, d)
+ // a Label to the left of an Area should be vertically aligned to the top
+ d.shouldVAlignTop = true
}
diff --git a/redo/table_unix.go b/redo/table_unix.go
index c2d59b6..f6ac068 100644
--- a/redo/table_unix.go
+++ b/redo/table_unix.go
@@ -116,6 +116,5 @@ func (t *table) commitResize(c *allocation, d *sizing) {
func (t *table) getAuxResizeInfo(d *sizing) {
// a Label to the left of a Table should be vertically aligned to the top
- // TODO do the same with Area
d.shouldVAlignTop = true
}