mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-05 16:55:05 +03:00
Fixed groups not resizing properly
This commit is contained in:
parent
cdaeae5264
commit
0881540b10
@ -135,7 +135,6 @@
|
|||||||
<Compile Include="Forms\DarkTranslucentForm.cs">
|
<Compile Include="Forms\DarkTranslucentForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Forms\Enums.cs" />
|
|
||||||
<Compile Include="Icons\DockIcons.Designer.cs">
|
<Compile Include="Icons\DockIcons.Designer.cs">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
|
@ -254,10 +254,15 @@ namespace DarkUI.Docking
|
|||||||
_parentForm.ResizeEnd += ParentForm_ResizeEnd;
|
_parentForm.ResizeEnd += ParentForm_ResizeEnd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void OnResize(EventArgs eventargs)
|
||||||
|
{
|
||||||
|
base.OnResize(eventargs);
|
||||||
|
|
||||||
|
SizeGroups();
|
||||||
|
}
|
||||||
|
|
||||||
private void ParentForm_ResizeEnd(object sender, EventArgs e)
|
private void ParentForm_ResizeEnd(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
SizeGroups();
|
|
||||||
|
|
||||||
if (_splitter != null)
|
if (_splitter != null)
|
||||||
_splitter.UpdateBounds();
|
_splitter.UpdateBounds();
|
||||||
}
|
}
|
||||||
@ -266,8 +271,6 @@ namespace DarkUI.Docking
|
|||||||
{
|
{
|
||||||
base.OnLayout(e);
|
base.OnLayout(e);
|
||||||
|
|
||||||
SizeGroups();
|
|
||||||
|
|
||||||
if (_splitter != null)
|
if (_splitter != null)
|
||||||
_splitter.UpdateBounds();
|
_splitter.UpdateBounds();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user