mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-02 07:09:27 +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">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\Enums.cs" />
|
||||
<Compile Include="Icons\DockIcons.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
|
@ -254,10 +254,15 @@ namespace DarkUI.Docking
|
||||
_parentForm.ResizeEnd += ParentForm_ResizeEnd;
|
||||
}
|
||||
|
||||
protected override void OnResize(EventArgs eventargs)
|
||||
{
|
||||
base.OnResize(eventargs);
|
||||
|
||||
SizeGroups();
|
||||
}
|
||||
|
||||
private void ParentForm_ResizeEnd(object sender, EventArgs e)
|
||||
{
|
||||
SizeGroups();
|
||||
|
||||
if (_splitter != null)
|
||||
_splitter.UpdateBounds();
|
||||
}
|
||||
@ -266,8 +271,6 @@ namespace DarkUI.Docking
|
||||
{
|
||||
base.OnLayout(e);
|
||||
|
||||
SizeGroups();
|
||||
|
||||
if (_splitter != null)
|
||||
_splitter.UpdateBounds();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user