* UIPage, UIForm, UITitlePanel: 调整了标题的最小高度
This commit is contained in:
parent
066f334b67
commit
93e10483d3
Binary file not shown.
@ -42,7 +42,7 @@ namespace Sunny.UI
|
||||
get => _titleHeight;
|
||||
set
|
||||
{
|
||||
_titleHeight = value;
|
||||
_titleHeight = Math.Max(19, value);
|
||||
Padding = new Padding(0, value, 0, 0);
|
||||
CalcSystemBoxPos();
|
||||
Invalidate();
|
||||
|
@ -417,7 +417,7 @@ namespace Sunny.UI
|
||||
get => titleHeight;
|
||||
set
|
||||
{
|
||||
titleHeight = Math.Max(value, 31);
|
||||
titleHeight = Math.Max(value, 29);
|
||||
Padding = new Padding(Padding.Left, showTitle ? titleHeight : Padding.Top, Padding.Right, Padding.Bottom);
|
||||
Invalidate();
|
||||
CalcSystemBoxPos();
|
||||
|
@ -536,7 +536,7 @@ namespace Sunny.UI
|
||||
get => titleHeight;
|
||||
set
|
||||
{
|
||||
titleHeight = Math.Max(value, 31);
|
||||
titleHeight = Math.Max(value, 19);
|
||||
Padding = new Padding(Padding.Left, titleHeight, Padding.Right, Padding.Bottom);
|
||||
CalcSystemBoxPos();
|
||||
Invalidate();
|
||||
|
Loading…
x
Reference in New Issue
Block a user