Now that all calls have to be made on a single thread, Stack.SetStretchy() can safely be called even after its Window is created (which is also when the Stack is assigned to the Window anyway).
This commit is contained in:
parent
734901351e
commit
07acb1ae04
|
@ -22,7 +22,6 @@ type Stack interface {
|
||||||
Control
|
Control
|
||||||
|
|
||||||
// SetStretchy marks a control in a Stack as stretchy.
|
// SetStretchy marks a control in a Stack as stretchy.
|
||||||
// This cannot be called once the Window containing the Stack has been created. [TODO might actually be safe to call anytime now]
|
|
||||||
// It panics if index is out of range.
|
// It panics if index is out of range.
|
||||||
SetStretchy(index int)
|
SetStretchy(index int)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue