Set vertical alignment of Labels next to Areas on GTK+.

This commit is contained in:
Pietro Gagliardi 2014-08-05 20:43:56 -04:00
parent 045f8859f7
commit 03f2873f68
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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
}