optimize<PopupWidget>: simplify PopupWidget xaml

This commit is contained in:
leo 2021-05-13 11:02:50 +08:00
parent b9b0899d48
commit d1e5b5357c
28 changed files with 36 additions and 27 deletions

View file

@ -1,5 +1,6 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
namespace SourceGit.Views.Controls {
@ -47,6 +48,14 @@ namespace SourceGit.Views.Controls {
currentContainer = id;
}
/// <summary>
/// 构造函数
/// </summary>
public PopupWidget() {
Height = double.NaN;
Padding = new Thickness(1);
}
/// <summary>
/// 显示
/// </summary>