Refine dialog layouts and presentation

This commit is contained in:
Mbucari 2023-04-04 14:09:40 -06:00 committed by MBucari
parent d737cd2199
commit 5e99cb6f02
34 changed files with 369 additions and 420 deletions

View file

@ -1,27 +1,19 @@
using Avalonia;
using Avalonia.Controls;
using Avalonia.Styling;
namespace LibationAvalonia.Controls
{
public partial class GroupBox : ContentControl
{
public static readonly StyledProperty<Thickness> BorderWidthProperty =
AvaloniaProperty.Register<GroupBox, Thickness>(nameof(BorderWidth));
public static readonly StyledProperty<string> LabelProperty =
AvaloniaProperty.Register<GroupBox, string>(nameof(Label));
public GroupBox()
{
InitializeComponent();
BorderWidth = new Thickness(3);
Label = "This is a groupbox label";
}
public Thickness BorderWidth
{
get { return GetValue(BorderWidthProperty); }
set { SetValue(BorderWidthProperty, value); }
}
public string Label
{