From 16aaeb5c26e51d050bce1457a2776130db026f03 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 27 Apr 2016 14:25:52 -0400 Subject: [PATCH] Some TODO resolution; some more TODOs. --- TODO.md | 2 ++ windows/tab.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 489a2b19..88f0193b 100644 --- a/TODO.md +++ b/TODO.md @@ -1,3 +1,5 @@ +- provisions for controls that cannot be grown? especiailly for windows + - LC_VERSION_MIN_MACOSX has the 10.11 SDK; see if we can knock it down to 10.7 too; OS version is fine - apply the OS version stuff to the test program and examples too - what about micro versions (10.7.x)? force 10.7.0? diff --git a/windows/tab.cpp b/windows/tab.cpp index 37b147ea..05d03a9e 100644 --- a/windows/tab.cpp +++ b/windows/tab.cpp @@ -266,7 +266,8 @@ void uiTabSetMargined(uiTab *t, uintmax_t n, int margined) page = tabPage(t, n); page->margined = margined; - // TODO queue resize + // even if the page doesn't have a child it might still have a new minimum size with margins; this is the easiest way to verify it + uiWindowsControlChildMinimumSizeChanged(uiWindowsControl(t)); } static void onResize(void *data)