Steven Kirk
c7dc89f06b
Fixed applying control templates.
And added unit tests for it.
11 years ago
Steven Kirk
33696785ab
Forgot to save .csproj after last commit it seems
11 years ago
Steven Kirk
ed3b5df146
Updated stylecop analyser.
11 years ago
Steven Kirk
fe9ed13cff
Install StyleCopAnalysers.
And fix all warnings for the Perspex.Animation project.
11 years ago
Steven Kirk
2763e59adb
Use serilog for logging.
11 years ago
Steven Kirk
deba950eb2
Make sure a render takes place after layout.
11 years ago
Steven Kirk
3965f7bdae
Updated and fixed all packages.
Now mono project should build.
11 years ago
Steven Kirk
363ad22438
Uninstalled Stylecop.MSBuild
It was causing problems and doesn't work properly with C#6 anyway.
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
3ef01d954d
Don't perform layout on removed controls.
Ensure the control is still a member of the visual tree before
attempting to measure/arrange it.
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
83043a85fa
Updated NuGet pkgs.
11 years ago
Steven Kirk
81fca38597
Correct comments.
11 years ago
Steven Kirk
552421f8d2
Fix failing layout test.
11 years ago
Steven Kirk
2084edafb4
Fix dev tools hack.
This fixes the problem hacked around in
41fe7e28aa . In the end the problem wasn't
ScrollViewer, it was that the correct size wasn't being passed to
Window.Arrange.
11 years ago
Steven Kirk
adb9ce49d2
Make DropDown's dropdown a ListBox.
11 years ago
Steven Kirk
06bf45ace3
Initial implementation of dropdown.
The popup appears in the wrong place, has placeholder content and steals
the main window focus, but it appears!
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
2f7981f1cb
Added an animated rotation.
To do this had to move Animatable to the bottom of the class hierarchy
to allow Transform to inherit from it.
11 years ago
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