summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-25 19:47:16 -0400
committerPietro Gagliardi <[email protected]>2014-06-25 19:47:16 -0400
commitfefc060f69e30b24f72f141041fb23e6cbfcaae2 (patch)
tree96088a0b83eefd97adb5f7965d2ea296762d9eb1
parent8bedc1a59d1648593922afa64ae7a436abd8ab16 (diff)
Added initial new sizing plan.
-rw-r--r--newsizing19
1 files changed, 19 insertions, 0 deletions
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