From fefc060f69e30b24f72f141041fb23e6cbfcaae2 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 25 Jun 2014 19:47:16 -0400 Subject: [PATCH] Added initial new sizing plan. --- newsizing | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 newsizing diff --git a/newsizing b/newsizing new file mode 100644 index 0000000..00ade31 --- /dev/null +++ b/newsizing @@ -0,0 +1,19 @@ +resize event comes in + new window size taken + windows: dialog base units re-measured + call main widget sizing function +main widget sizing function + get preferred size of all subwidgets + windows: uses dialog base units + produce map of which controls are next to which controls + properly space controls + windows: uses dialog base units + return list of size allocations back to window sizer +window sizer + mac: converts coordinate space + asks each widget to adjust the allocation based on neighboring control +each widget adjustment + mac: neighboring control baselines are aligned for labels + gtk: vertical alignment of text changed to top if neighboring control is multi-line + TODO - should it be center-aligned or not + windows: none