From bf9e43b1854d048969696d36e2810a57d0e16af3 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 6 Jun 2015 16:37:13 -0400 Subject: [PATCH] TODO shuffling. --- TODO.md | 1 + redo/box.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index cf7c9407..efd24b1b 100644 --- a/TODO.md +++ b/TODO.md @@ -1,3 +1,4 @@ +- figure out how to deal with dchild at all, including preferred sizes - make OS X uiEntry width based on default in Interface Builder, not from sizeToFit - update state whenever setting parent - make the various onDestroy() functions take the uiControl instead diff --git a/redo/box.c b/redo/box.c index 6dba03ba..2610f3f4 100644 --- a/redo/box.c +++ b/redo/box.c @@ -87,7 +87,6 @@ static void boxPreferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_ bc = ptrArrayIndex(b->controls, struct boxControl *, i); if (!uiControlContainerVisible(bc->c)) continue; - // TODO dchild uiControlPreferredSize(bc->c, d, &preferredWidth, &preferredHeight); if (bc->stretchy) { nStretchy++;