summaryrefslogtreecommitdiff
path: root/redo/area_unix.go
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/area_unix.go
parent045f8859f742c981b5d3208accb997c79f241e4c (diff)
Set vertical alignment of Labels next to Areas on GTK+.
Diffstat (limited to 'redo/area_unix.go')
-rw-r--r--redo/area_unix.go3
1 files changed, 2 insertions, 1 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
}