Steven Kirk
9f07dc5bad
Remove LayoutHelper.MeasureDecorator.
No longer needed as most of the logic was moved to MeasureCore.
11 years ago
Steven Kirk
01c7d028d0
Correctly apply nested templates.
When a templated control's template itself contains templated controls,
make sure all of the templates are applied, as the nested templated
control might contain something the top-most templated control is
looking for.
11 years ago
Steven Kirk
462d40156a
Fix another problem in layout.
If an arrange pass causes measure invalidate, exit the arrange pass and
re-run the measure pass.
11 years ago
Steven Kirk
43e1e3c168
Fixed final layout problem i'm aware of.
(Currently!)
11 years ago
Steven Kirk
55a11d8dfd
More stylecop fixes.
11 years ago
Steven Kirk
f9952e85cc
Fixed a few more layout bugs.
11 years ago
Steven Kirk
a8ae15b3ed
More work on layout.
Mostly works but Test_ScrollViewer_With_TextBlock is failing again.
11 years ago
Steven Kirk
64c445f826
Don't remeasure/arrange when size hasn't changed.
11 years ago
Steven Kirk
4f9dc138da
Use measure layout algorithm for arrange.
11 years ago
Steven Kirk
d0cec392f7
Made test pass.
11 years ago
Steven Kirk
af492b5d75
Started refactoring lyaout.
To make it faster. Currently all broken :/
11 years ago
Steven Kirk
192e66179c
Initial implementation of GTK windowing system.
Displays a window. Doesn't do anything with it yet.
11 years ago
Steven Kirk
3dbd669f7b
Added Layoutable.ApplyTemplate.
Rather than each different presenter/templated control rolling their
own.
11 years ago
Steven Kirk
76ba899dbd
Make templates etc get applied on measure.
Instead of when iterating visual children. This because everything is
likely to be set up by that point.
11 years ago
Steven Kirk
73ebfc9475
Hide scrollbars on ScrollViewer when not needed.
Also added an image size slider to test.
11 years ago
Steven Kirk
23a8f9ab5d
Fix scrollbar values.
11 years ago
Steven Kirk
b04bcf48a1
Fixed layout again.
Last commit actually ruined layout. Added a tab to the test app to test
that shiz.
11 years ago
Steven Kirk
3e3d8296af
Fix layout a bit.
11 years ago
Steven Kirk
9d8d9a59fa
Updated NuGet packages.
11 years ago
Steven Kirk
f99509fc11
Basic implementation of scrollbar.
Horizontal only so far. VERY HACKY.
11 years ago
Steven Kirk
e25269be1c
Updated NuGet packages.
12 years ago
Steven Kirk
0aa671d75f
No longer need to work around a Splat bug.
12 years ago
Steven Kirk
371e381006
Added a logging manager...
To try and figure out why stuff is flashing up on the screen when you
open a new tree view node, and then decided to put that off for later ;)
12 years ago
Steven Kirk
6205545bc5
Make stuff get measured properly.
And added some logging to Layoutable to help diagnose this.
12 years ago
Steven Kirk
e696dde0ec
Things now display correctly.
No keyboard input though.
12 years ago
Steven Kirk
bfadaac5d9
Non-building checkpoint in MAJOR refactor.
12 years ago