mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-22 08:34:05 +02:00
Fix misaligned Plugins form controls when reloading plugins after scrolling down
This commit is contained in:
parent
7d8d0bd43b
commit
b90c5f17cf
@ -35,8 +35,8 @@ private int GetPluginOrderIndex(Plugin plugin){
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void ReloadPluginList(){
|
private void ReloadPluginList(){
|
||||||
flowLayoutPlugins.SuspendLayout();
|
|
||||||
flowLayoutPlugins.Controls.Clear();
|
flowLayoutPlugins.Controls.Clear();
|
||||||
|
flowLayoutPlugins.SuspendLayout();
|
||||||
|
|
||||||
foreach(Plugin plugin in pluginManager.Plugins.OrderBy(GetPluginOrderIndex).ThenBy(plugin => plugin.Name)){
|
foreach(Plugin plugin in pluginManager.Plugins.OrderBy(GetPluginOrderIndex).ThenBy(plugin => plugin.Name)){
|
||||||
flowLayoutPlugins.Controls.Add(new PluginControl(pluginManager, plugin));
|
flowLayoutPlugins.Controls.Add(new PluginControl(pluginManager, plugin));
|
||||||
|
Loading…
Reference in New Issue
Block a user