mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-25 14:15:00 +00:00
optimize<PopupWidget>: simplify PopupWidget xaml
This commit is contained in:
parent
b9b0899d48
commit
d1e5b5357c
28 changed files with 36 additions and 27 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue