Fix a label width size issue.

This commit is contained in:
BDisp
2022-11-17 18:01:03 +00:00
parent 738728f2b8
commit bffc9cb2e8

View File

@@ -143,7 +143,7 @@ namespace UICatalog.Scenarios {
TextAlignment = TextAlignment.Centered,
X = Pos.Right (_btnPrevious) + 1,
Y = Pos.Top (_btnPrevious),
Width = Dim.Fill () - Dim.Width (_btnAdd) - 1,
Width = Dim.Fill () - Dim.Function (() => _btnAdd.Frame.Width + 1),
Height = 1
};
_frmMenu.Add (_lblMenuBar);