Some TODO resolution.

This commit is contained in:
Pietro Gagliardi 2015-08-17 12:42:10 -04:00
parent d8bba34caf
commit b15554cbd1
3 changed files with 3 additions and 3 deletions

View File

@ -76,7 +76,7 @@ void uiButtonSetText(uiButton *b, const char *text)
{ {
[b->button setTitle:toNSString(text)]; [b->button setTitle:toNSString(text)];
// this may result in the size of the button changing // this may result in the size of the button changing
//TODO uiControlQueueResize(uiControl(b)); // fortunately Auto Layout handles this for us
} }
void uiButtonOnClicked(uiButton *b, void (*f)(uiButton *, void *), void *data) void uiButtonOnClicked(uiButton *b, void (*f)(uiButton *, void *), void *data)

View File

@ -76,7 +76,7 @@ void uiCheckboxSetText(uiCheckbox *c, const char *text)
{ {
[c->button setTitle:toNSString(text)]; [c->button setTitle:toNSString(text)];
// this may result in the size of the checkbox changing // this may result in the size of the checkbox changing
//TODO uiControlQueueResize(uiControl(c)); // fortunately Auto Layout handles this for us
} }
void uiCheckboxOnToggled(uiCheckbox *c, void (*f)(uiCheckbox *, void *), void *data) void uiCheckboxOnToggled(uiCheckbox *c, void (*f)(uiCheckbox *, void *), void *data)

View File

@ -21,7 +21,7 @@ void uiLabelSetText(uiLabel *l, const char *text)
{ {
[l->textfield setStringValue:toNSString(text)]; [l->textfield setStringValue:toNSString(text)];
// changing the text might necessitate a change in the label's size // changing the text might necessitate a change in the label's size
//TODO uiControlQueueResize(uiControl(l)); // fortunately Auto Layout handles this for us
} }
uiLabel *uiNewLabel(const char *text) uiLabel *uiNewLabel(const char *text)