Steven Kirk
2763e59adb
Use serilog for logging.
11 years ago
Steven Kirk
a267e1c070
DesiredSize doesn't need to be null.
11 years ago
Steven Kirk
6f2b9cd5ec
Added UseLayoutRounding.
11 years ago
Steven Kirk
5b706ae123
Validate size returned by MeasureCore.
11 years ago
Steven Kirk
c27ddbb17c
Removed ActualSize property - use Bounds instead.
11 years ago
Steven Kirk
81fca38597
Correct comments.
11 years ago
Steven Kirk
552421f8d2
Fix failing layout test.
11 years ago
Steven Kirk
adb9ce49d2
Make DropDown's dropdown a ListBox.
11 years ago
Steven Kirk
350b2444e2
Fix layout calculations w/margins.
11 years ago
Steven Kirk
9a994e582c
Moved VisualTree extensions into own namespace.
So that they don't pollute the whole Perspex namespace - you now need to
"opt-in" to the visual tree.
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
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
af492b5d75
Started refactoring lyaout.
To make it faster. Currently all broken :/
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
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
f99509fc11
Basic implementation of scrollbar.
Horizontal only so far. VERY HACKY.
11 years ago
Steven Kirk
0aa671d75f
No longer need to work around a Splat bug.
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
bfadaac5d9
Non-building checkpoint in MAJOR refactor.
12 years ago
Steven Kirk
07866618b7
Added opacity.
12 years ago
Steven Kirk
f0e41bd681
Fixed layout bug.
12 years ago
Steven Kirk
173ed94df2
Added beginnings of TabStrip control.
12 years ago
Steven Kirk
af9f8408eb
Moved layout stuff into Layoutable
Out of Control.
12 years ago