Set vertical alignment of Labels next to Areas on GTK+.
This commit is contained in:
parent
045f8859f7
commit
03f2873f68
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue