Clear left padding on VerticalResizeContainer

- Issue MatterHackers/MCCentral#4369
Excess left padding after switch to VerticalResizeContainer
This commit is contained in:
John Lewin 2018-10-23 20:36:15 -07:00
parent 262a46299e
commit 4bce728fa5
2 changed files with 5 additions and 4 deletions

View file

@ -27,13 +27,14 @@ of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project.
*/
using System;
using MatterHackers.Agg;
using MatterHackers.Agg.UI;
using System;
namespace MatterHackers.MatterControl.CustomWidgets
{
enum GrabBarSide { Left, Right }
public enum GrabBarSide { Left, Right }
public class VerticalResizeContainer : FlowLayoutWidget
{
public event EventHandler Resized;
@ -43,7 +44,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
private double mouseDownX;
private int _splitterWidth;
GrabBarSide grabSide;
private GrabBarSide grabSide;
private bool mouseOverBar;
internal VerticalResizeContainer(ThemeConfig theme, GrabBarSide grabSide)