Steven Kirk
41244d58d5
Use ItemsPresenter in DropDown template.
Breaks a few things - they need properly fixing.
11 years ago
Steven Kirk
86fedfa945
Make ListBoxItem focusable thus selectable.
11 years ago
Steven Kirk
4e5cee4378
Don't add Panel Logical children twice!
11 years ago
Steven Kirk
a4680f2041
Removed TabControl.SelectedContent.
Not currently needed, as Deck is responsible for displaying the selected
content.
11 years ago
Steven Kirk
f7f86480bd
Merge branch 'master' of https://github.com/grokys/Perspex
11 years ago
Steven Kirk
0ca4717b29
Merge branch 'Robertofon-master'
11 years ago
Steven Kirk
fa863f9e83
Merge branch 'master' of https://github.com/Robertofon/Perspex into Robertofon-master
11 years ago
Steven Kirk
d50c3231a8
Merge pull request #68 from ncarrillo/gtk-popup-placement
GTK Popup fixes
11 years ago
Steven Kirk
f30b1fa0a1
Removed commented-out code.
11 years ago
Steven Kirk
40e1f5161b
Apply TemplatedParent/call ApplyTemplate twice.
The first time before controls are added to the visual tree. This gives
a chance for controls to be reparented to set up the logical tree before
styling is applied. The second time, after styling is applied in order
to apply the templates of nested templated controls.
11 years ago
Steven Kirk
152f932ce8
Ignore test for now.
11 years ago
Steven Kirk
07aa92e1b7
Allow TabControl to reparent children of its Deck.
11 years ago
Steven Kirk
2d6d136418
Moved INamed to Perspex.Styling.
11 years ago
Steven Kirk
c7dc89f06b
Fixed applying control templates.
And added unit tests for it.
11 years ago
rob
80935434bc
#46 Added remove-Tests for TabStrip and TabControl.
TabControl's SelectedContent fails.
11 years ago
Steven Kirk
b05f68eb42
Documented TemplatedControl.
11 years ago
Steven Kirk
46319743af
Remove unnecessary measure/arrange.
11 years ago
Steven Kirk
ab697a24b9
Removed no longer needed collections.
Now that reparenting works correctly.
11 years ago
Steven Kirk
5303eb7cd8
Make all tests pass again.
Menus displaying weirdly though.
11 years ago
Steven Kirk
38e85a3f36
Started reworking reparenting controls.
11 years ago
Steven Kirk
abad671bba
Set TabOnceActiveElement in SelectingItemsControl.
11 years ago
Steven Kirk
12c8d3712d
Make TreeView work again, to an extent.
Still a bit of a hack: needs doing properly at some point.
11 years ago
Steven Kirk
eb6bd28664
Rename TypedItemContainerGenerator
As ItemContainerGenerator<T>.
11 years ago
Steven Kirk
77e81c4360
Make TabControl/Deck work again.
11 years ago
Steven Kirk
3492bd617f
Added SelectingItemsControl.AutoSelect.
11 years ago
Steven Kirk
6af31ecf43
Use modern Items property changed notification.
11 years ago
Steven Kirk
3010bc76fb
Use IItemContainerGenerator interface.
Instead of ItemContainerGenerator class.
11 years ago
Steven Kirk
ff331693f0
Started refactoring SelectingItemsControl.
11 years ago
Steven Kirk
eabf674027
Move more stuff from Control to IControl.
To do this, added the PropertyBag interfaces from ideas branch.
11 years ago
Steven Kirk
ef50e97a2b
Added more ItemsPresenter tests.
Some of failing because of the way ItemContainterGenerator currently
works. Needs to be fixed.
11 years ago
Steven Kirk
362abd481c
Documented ItemsPresenter.
And tidied up a couple of things.
11 years ago
Steven Kirk
696b016cf5
Don't explicitly set ItemsControl panel orientation.
That way, can be overridden in styles and thus doesn't need to be
overridden in TabStrip.
11 years ago
Steven Kirk
c1ba7cc526
Use interfaces in templates.
11 years ago
Steven Kirk
c0fc38358f
Refactored templates a bit.
Added interfaces, moved them to Controls.Templates namespace and added
base classes for common Func<> templates.
11 years ago
Steven Kirk
1b2f1c41a5
StyleCop'ed ProgressBar.
11 years ago
Steven Kirk
e606de9184
Merge pull request #67 from ncarrillo/geom-fixes
Geometry fixes for the Cairo backend
11 years ago
Steven Kirk
ceda47a27f
Merge pull request #66 from ncarrillo/pango-tweaks
Pango tweaks
11 years ago
Nelson Carrillo
6ea6afe81d
Fixing popup placement
11 years ago
Nelson Carrillo
41842b644e
Fixed memory leaks while drawing geometry
Cached surface/context during bounds calculation
11 years ago
Nelson Carrillo
cd3dc55e54
Fixes RadioButton rendering
Fixes CheckBox glyph rendering
11 years ago
Nelson Carrillo
57ebfd36d1
Revert previous paint change.
11 years ago
Nelson Carrillo
5b43ed6847
Fixed scrolling in a multiline textbox
Tweaked WindowImpl to only Paint on Expose events
11 years ago
Nelson Carrillo
1d4cca886d
Implemented text selection and temporarily worked around text scaling
11 years ago
Steven Kirk
f1deacdc74
Merge pull request #65 from ncarrillo/fix-progress-bar
Fix progress bar
11 years ago
Steven Kirk
e4d2943208
Merge pull request #64 from ncarrillo/fix-cairo-image-clip
Fixing clipping issue with images using the Cairo backend
11 years ago
Steven Kirk
60b6f23aef
Refactored ISelectable behavior into a mixin.
11 years ago
Steven Kirk
b3bdbe8025
Merge pull request #62 from ncarrillo/fix-progressbar
Fixed a bug in ProgressBar
11 years ago
Nelson Carrillo
2074e18294
Merge from upstream
11 years ago
Nelson Carrillo
3ed4cc0192
Moved ProgressBar value calculation to ValueChanged
Moved indicator lookup to OnTemplateApplied
11 years ago
Nelson Carrillo
f7410049b1
Fixing clipping issue with images using the Cairo backend
11 years ago