-
Notifications
You must be signed in to change notification settings - Fork 185
Exception when moving logexpert to a screen with lower DPI (V1.11 Patch 1) #320
Description
I have two screen with different DPIs. Moving logexpert from one screen to the other other will end in an exception:
Die SplitterDistance muss zwischen Panel1MinSize und Width - Panel2MinSize liegen.\n\n
InvalidOperationException
at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
at LogExpert.Controls.LogWindow.LogWindow.OnSplitContainerSplitterMoved(Object sender, SplitterEventArgs e)
at System.Windows.Forms.SplitContainer.set_SplitterDistance(Int32 value)
at System.Windows.Forms.SplitContainer.ApplySplitterDistance()
at System.Windows.Forms.SplitContainer.ResizeSplitContainer()
at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty)
at System.Windows.Forms.Control.OnResize(EventArgs e)
at System.Windows.Forms.ContainerControl.OnResize(EventArgs e)
at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.SplitContainer.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)