mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-23 17:42:46 +01:00
20 lines
594 B
C#
20 lines
594 B
C#
using System.Windows.Forms;
|
|
using TweetDuck.Core.Utils;
|
|
|
|
namespace TweetDuck.Plugins.Controls{
|
|
sealed class PluginListFlowLayout : FlowLayoutPanel{
|
|
public PluginListFlowLayout(){
|
|
FlowDirection = FlowDirection.TopDown;
|
|
WrapContents = false;
|
|
}
|
|
|
|
protected override void WndProc(ref Message m){
|
|
if (m.Msg == 0x85){ // WM_NCPAINT
|
|
NativeMethods.ShowScrollBar(Handle, NativeMethods.SB_HORZ, false); // basically fuck the horizontal scrollbar very much
|
|
}
|
|
|
|
base.WndProc(ref m);
|
|
}
|
|
}
|
|
}
|