mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-13 08:34:08 +02:00
Fix visual issues in Plugins form
This commit is contained in:
parent
073f1da5b4
commit
b8f170ae39
@ -50,6 +50,10 @@ private void ReloadPluginList(){
|
||||
|
||||
flowLayoutPlugins.ResumeLayout(true);
|
||||
flowLayoutPlugins_Resize(flowLayoutPlugins, new EventArgs());
|
||||
|
||||
// sorry, I guess...
|
||||
Padding = new Padding(Padding.Left, Padding.Top, Padding.Right+1, Padding.Bottom);
|
||||
Padding = new Padding(Padding.Left, Padding.Top, Padding.Right-1, Padding.Bottom);
|
||||
}
|
||||
|
||||
private void flowLayoutPlugins_Resize(object sender, EventArgs e){
|
||||
@ -67,7 +71,8 @@ private void flowLayoutPlugins_Resize(object sender, EventArgs e){
|
||||
foreach(Control control in flowLayoutPlugins.Controls){
|
||||
control.Width = flowLayoutPlugins.Width-control.Margin.Horizontal-horizontalOffset;
|
||||
}
|
||||
|
||||
|
||||
lastControl.Visible = !showScrollBar;
|
||||
flowLayoutPlugins.Focus();
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
@ -32,7 +31,7 @@ public PluginControl(PluginManager pluginManager, Plugin plugin) : this(){
|
||||
labelDescription.Visible = false;
|
||||
}
|
||||
|
||||
panelDescription_Resize(panelDescription, new EventArgs());
|
||||
panelDescription_Resize(panelDescription, null);
|
||||
}
|
||||
|
||||
private void panelDescription_Resize(object sender, EventArgs e){
|
||||
|
Loading…
Reference in New Issue
Block a user