Fix container load exceptions due to missing Add/Create Folder buttons

This commit is contained in:
John Lewin 2017-08-15 20:24:07 -07:00
parent 37a24826f9
commit eac61f0217

View file

@ -157,14 +157,14 @@ namespace MatterHackers.MatterControl.PrintLibrary
allControls.AddChild(libraryView);
//buttonPanel = new FlowLayoutWidget()
//{
// HAnchor = HAnchor.Stretch,
// Padding = ApplicationController.Instance.Theme.ToolbarPadding,
// BackgroundColor = ActiveTheme.Instance.PrimaryBackgroundColor,
//};
//AddLibraryButtonElements();
//allControls.AddChild(buttonPanel);
buttonPanel = new FlowLayoutWidget()
{
HAnchor = HAnchor.Stretch,
Padding = ApplicationController.Instance.Theme.ToolbarPadding,
BackgroundColor = ActiveTheme.Instance.PrimaryBackgroundColor,
};
AddLibraryButtonElements();
allControls.AddChild(buttonPanel);
allControls.AnchorAll();