diff --git a/redo/reredo/darwin/button.m b/redo/reredo/darwin/button.m index 59f5e08a..683789c1 100644 --- a/redo/reredo/darwin/button.m +++ b/redo/reredo/darwin/button.m @@ -76,7 +76,7 @@ void uiButtonSetText(uiButton *b, const char *text) { [b->button setTitle:toNSString(text)]; // 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) diff --git a/redo/reredo/darwin/checkbox.m b/redo/reredo/darwin/checkbox.m index 29bf2900..36fb0871 100644 --- a/redo/reredo/darwin/checkbox.m +++ b/redo/reredo/darwin/checkbox.m @@ -76,7 +76,7 @@ void uiCheckboxSetText(uiCheckbox *c, const char *text) { [c->button setTitle:toNSString(text)]; // 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) diff --git a/redo/reredo/darwin/label.m b/redo/reredo/darwin/label.m index bc8f1506..4e2ff81f 100644 --- a/redo/reredo/darwin/label.m +++ b/redo/reredo/darwin/label.m @@ -21,7 +21,7 @@ void uiLabelSetText(uiLabel *l, const char *text) { [l->textfield setStringValue:toNSString(text)]; // 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)