Browse Source
Move CreateLayoutManager to be next to other methods.
pull/1014/head
Jeremy Koritzinsky
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
2 deletions
-
src/Avalonia.Controls/TopLevel.cs
|
|
@ -148,8 +148,6 @@ namespace Avalonia.Controls |
|
|
protected set { SetAndRaise(ClientSizeProperty, ref _clientSize, value); } |
|
|
protected set { SetAndRaise(ClientSizeProperty, ref _clientSize, value); } |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
protected virtual ILayoutManager CreateLayoutManager() => new LayoutManager(); |
|
|
|
|
|
|
|
|
|
|
|
public ILayoutManager LayoutManager |
|
|
public ILayoutManager LayoutManager |
|
|
{ |
|
|
{ |
|
|
get |
|
|
get |
|
|
@ -248,6 +246,11 @@ namespace Avalonia.Controls |
|
|
{ |
|
|
{ |
|
|
return PlatformImpl?.PointToScreen(p) ?? default(Point); |
|
|
return PlatformImpl?.PointToScreen(p) ?? default(Point); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Creates the layout manager for this <see cref="TopLevel" />.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
protected virtual ILayoutManager CreateLayoutManager() => new LayoutManager(); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Handles a paint notification from <see cref="ITopLevelImpl.Resized"/>.
|
|
|
/// Handles a paint notification from <see cref="ITopLevelImpl.Resized"/>.
|
|
|
|