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:
Pietro Gagliardi 2014-08-12 19:54:46 -04:00
parent 734901351e
commit 07acb1ae04
1 changed files with 0 additions and 1 deletions

View File

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