Some TODO resolution.
This commit is contained in:
parent
d8bba34caf
commit
b15554cbd1
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue