* UISplitContainer: SplitterWidth值小的时不绘制箭头
This commit is contained in:
parent
e0e97e2e54
commit
5ed6aaf7a6
@ -20,6 +20,7 @@
|
|||||||
* 2022-04-03: V3.1.3 增加主题样式
|
* 2022-04-03: V3.1.3 增加主题样式
|
||||||
* 2022-04-20: V3.1.5 修复调用Collapse()后,展开/收回操作失效
|
* 2022-04-20: V3.1.5 修复调用Collapse()后,展开/收回操作失效
|
||||||
* 2022-12-06: V3.3.0 去掉SplitterWidth限制
|
* 2022-12-06: V3.3.0 去掉SplitterWidth限制
|
||||||
|
* 2022-12-06: V3.3.0 SplitterWidth值小的时不绘制箭头
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
@ -387,6 +388,8 @@ namespace Sunny.UI
|
|||||||
e.Graphics.SetDefaultQuality();
|
e.Graphics.SetDefaultQuality();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (SplitterWidth >= 9)
|
||||||
|
{
|
||||||
switch (_collapsePanel)
|
switch (_collapsePanel)
|
||||||
{
|
{
|
||||||
case UICollapsePanel.Panel1:
|
case UICollapsePanel.Panel1:
|
||||||
@ -415,6 +418,7 @@ namespace Sunny.UI
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private Point[] GetHandlePoints()
|
private Point[] GetHandlePoints()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user