Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixing Issue #263. #265

Merged
merged 1 commit into from

2 participants

@DavidKarlas
Collaborator

Wpf.FrameBackend did not UpdateChildPlacement after setting new Content(child)

@slluis slluis merged commit 37605b9 into mono:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 24, 2013
  1. @DavidKarlas

    Fixing Issue #263. Wpf.FrameBackend did not UpdateChildPlacement afte…

    DavidKarlas authored
    …r setting new Content(child)
This page is out of date. Refresh to see the latest.
Showing with 10 additions and 5 deletions.
  1. +10 −5 Xwt.WPF/Xwt.WPFBackend/FrameBackend.cs
View
15 Xwt.WPF/Xwt.WPFBackend/FrameBackend.cs
@@ -105,11 +105,16 @@ public void SetFrameType (FrameType type)
}
public void SetContent (IWidgetBackend child)
- {
- if (child == null)
- GroupBox.Content = null;
- else
- GroupBox.Content = child.NativeWidget;
+ {
+ if (child == null)
+ {
+ GroupBox.Content = null;
+ }
+ else
+ {
+ GroupBox.Content = child.NativeWidget;
+ SetChildPlacement(child);
+ }
}
public void SetBorderSize (double left, double right, double top, double bottom)
Something went wrong with that request. Please try again.