[WpfBackend] Correctly arrange the controls in a box backend. #23

Merged
merged 1 commit into from Feb 29, 2012

Conversation

Projects
None yet
2 participants
Member

carlosalberto commented Feb 29, 2012

Use a custom Panel instead of Canvas, so have full control
on the positions of the controls (and no side effect). Also,
override ArrangeOverride to refresh the controls, as required
by WPF.

@carlosalberto carlosalberto [WpfBackend] Correctly arrange the controls in a box backend.
Use a custom Panel instead of Canvas, so have full control
on the positions of the controls (and no side effect). Also,
override ArrangeOverride to refresh the controls, as *required*
by WPF.
496efbf
Member

carlosalberto commented Feb 29, 2012

This should prevent any weird behaviour in the samples app ;-) There are still a pair of minor details (like, setting the size of the window with the menu+borders in mind), but wanted to commit this one right away as it may help a lot when testing (and because I will be connection-less for the next 3 hours)

@ermau ermau added a commit that referenced this pull request Feb 29, 2012

@ermau ermau Merge pull request #23 from carlosalberto/base-fixes
[WpfBackend] Correctly arrange the controls in a box backend.
85aa3f3

@ermau ermau merged commit 85aa3f3 into mono:master Feb 29, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment