diff --git a/Bin/SunnyUI.Demo.exe b/Bin/SunnyUI.Demo.exe index 554ac8a5..c59065cf 100644 Binary files a/Bin/SunnyUI.Demo.exe and b/Bin/SunnyUI.Demo.exe differ diff --git a/Bin/SunnyUI.dll b/Bin/SunnyUI.dll index c249f46d..6fb2befa 100644 Binary files a/Bin/SunnyUI.dll and b/Bin/SunnyUI.dll differ diff --git a/Bin/SunnyUI.pdb b/Bin/SunnyUI.pdb index c328ca77..a05da3ec 100644 Binary files a/Bin/SunnyUI.pdb and b/Bin/SunnyUI.pdb differ diff --git a/SunnyUI.Demo/SunnyUI.ico b/SunnyUI.Demo/SunnyUI.ico index 0036969b..826f6177 100644 Binary files a/SunnyUI.Demo/SunnyUI.ico and b/SunnyUI.Demo/SunnyUI.ico differ diff --git a/SunnyUI/Controls/UIFlowLayoutPanel.cs b/SunnyUI/Controls/UIFlowLayoutPanel.cs index 548411ee..9714c0b0 100644 --- a/SunnyUI/Controls/UIFlowLayoutPanel.cs +++ b/SunnyUI/Controls/UIFlowLayoutPanel.cs @@ -37,12 +37,14 @@ namespace Sunny.UI Panel.AutoScroll = true; Panel.ControlAdded += Panel_ControlAdded; Panel.ControlRemoved += Panel_ControlRemoved; - Panel.SizeChanged += Panel_SizeChanged; + //Panel.SizeChanged += Panel_SizeChanged; Panel.Scroll += Panel_Scroll; Panel.MouseWheel += Panel_MouseWheel; Panel.MouseEnter += Panel_MouseEnter; Panel.MouseClick += Panel_MouseClick; Bar.ValueChanged += Bar_ValueChanged; + + SizeChanged += Panel_SizeChanged; } public override void SetStyleColor(UIBaseStyle uiColor)