Steven Kirk
d0c8146681
Make Home, End and Ctrl keys work in TextBox.
12 years ago
Steven Kirk
2e0e225e26
Added selection to TextBox.
12 years ago
Steven Kirk
2be668db1a
More refactoring of FormattedText.
12 years ago
Steven Kirk
baafad1af7
Removed ITextService.
Cairo renderer completely broken by this point.
12 years ago
Steven Kirk
20a944013e
Started refactoring of FormattedText.
12 years ago
Steven Kirk
dc6a6feb49
Added AcceptsReturn and AcceptsTab to TextBox.
12 years ago
Steven Kirk
42f7254393
Added IsEnabled.
12 years ago
Steven Kirk
688f6532c8
Added coercion to PerspexProperties.
And use it to make sure ScrollViewer's offset is in range.
12 years ago
Steven Kirk
c28c7e6b7a
Removed debug code.
12 years ago
Steven Kirk
43e1e3c168
Fixed final layout problem i'm aware of.
(Currently!)
12 years ago
Steven Kirk
55a11d8dfd
More stylecop fixes.
12 years ago
Steven Kirk
4f9dc138da
Use measure layout algorithm for arrange.
12 years ago
Steven Kirk
6d2056ad2b
Added unit test to test breakage.
12 years ago
Steven Kirk
af492b5d75
Started refactoring lyaout.
To make it faster. Currently all broken :/
12 years ago
Steven Kirk
7f90f5c8e6
Added mousewheel support to ScrollViewer.
12 years ago
Steven Kirk
338e82c43d
Fixed bug in Grid.
Bug came from Moonlight. Fixes #3 .
12 years ago
Steven Kirk
669989ecdb
Stylecop fixes broke something.
Think it must be a bug in Roslyn pre-release.
12 years ago
Steven Kirk
32587825b3
More stylecop fixes.
12 years ago
Steven Kirk
a833a5e883
Stylecop fixes.
Also added solution-wide stylecop settings.
12 years ago
Steven Kirk
9ae20bd73b
Hacky keyboard navigation for TreeView.
12 years ago
Steven Kirk
a5a6f094cf
Added keyboard navigation for ListBox.
Need to override it for TreeView.
12 years ago
Steven Kirk
9a1c5825d4
Added ListBox.
And moved all item selecting logic etc in SelectingItemsControl where it
should be.
12 years ago
Steven Kirk
1930178de3
Tidied up PseudoClass stuff.
Make it more like AffectsMeasure etc. To do this required a
PerspexProperty.Initialized observable.
12 years ago
Steven Kirk
2468e061c5
Improve focus a little bit.
12 years ago
Steven Kirk
3eddb7053c
Line endings again.
12 years ago
Steven Kirk
127c27fd6b
Make TextBox work (a bit).
12 years ago
Steven Kirk
cbbef72f9b
Getting something drawn now.
12 years ago
Steven Kirk
195d4c3766
Handle window resize.
12 years ago
Steven Kirk
2588c052b3
Handle input again.
12 years ago
Steven Kirk
c999d45e94
WIP refactoring Window.
To make it x-platform. Currently breaks input.
12 years ago
Steven Kirk
192e66179c
Initial implementation of GTK windowing system.
Displays a window. Doesn't do anything with it yet.
12 years ago
Steven Kirk
7493a09696
Work around a bug in mono C# compiler.
12 years ago
Steven Kirk
3dbd669f7b
Added Layoutable.ApplyTemplate.
Rather than each different presenter/templated control rolling their
own.
12 years ago
Steven Kirk
033c686456
Added ScrollViewer to TreeViewStyle.
12 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.
12 years ago
Steven Kirk
d71694573b
Removed Parent property for now.
It didn't work and wasn't used and was confusing me. Add it back in when
it's needed.
12 years ago
Steven Kirk
9ca5b930c7
Fixed ScrollViewer maths.
12 years ago
Steven Kirk
aaca0a8cb1
Make GetObservable return current value.
12 years ago
Steven Kirk
73ebfc9475
Hide scrollbars on ScrollViewer when not needed.
Also added an image size slider to test.
12 years ago
Steven Kirk
1a898d83aa
Started adding ScrollViewer.
Currently works so far as to scroll an image in the Images tab of the
test app. Hiding the scrollbars is currently disabled as it requires a
layout pass to be triggered during a layout pass. Need to work out a
way around that...
12 years ago
Steven Kirk
d9cd5ba3ab
Code was moved to MeasureCore.
12 years ago
Steven Kirk
03c3a906e0
...aaannd again.
12 years ago
Steven Kirk
cb86dfde18
Fix initial scrollbar arrange.
12 years ago
Steven Kirk
23a8f9ab5d
Fix scrollbar values.
12 years ago
Steven Kirk
a91f565d22
Removed inherits on Background.
12 years ago
Steven Kirk
16f2fccd42
Added content alignment properties.
And align button contents in the center of the button.
12 years ago
Steven Kirk
b04bcf48a1
Fixed layout again.
Last commit actually ruined layout. Added a tab to the test app to test
that shiz.
12 years ago
Steven Kirk
3e3d8296af
Fix layout a bit.
12 years ago
Steven Kirk
9d8d9a59fa
Updated NuGet packages.
12 years ago
Steven Kirk
79c071a6d0
Added vertical scrollbar.
STILL VERY HACKY.
12 years ago