Fixed dialog size

This commit is contained in:
LarsBrubaker 2020-07-25 11:00:56 -07:00
parent 15208178b1
commit ebb643c8d1
3 changed files with 3 additions and 3 deletions

View file

@ -99,7 +99,7 @@ namespace MatterHackers.MatterControl
public MessageBoxPage(Action<bool> callback, string message, string caption, MessageType messageType, GuiWidget[] extraWidgetsToAdd, double width, double height, string yesOk, string noCancel, ThemeConfig theme, bool useMarkdown = false)
: base((noCancel == "") ? "No".Localize() : noCancel)
{
this.WindowSize = new Vector2(width, height);
this.WindowSize = new Vector2(width * GuiWidget.DeviceScale, height * GuiWidget.DeviceScale);
if (yesOk == "")
{

View file

@ -66,7 +66,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
private GuiWidget searchButton;
private TreeView libraryTreeView;
public bool ShowContainers { get; private set; }
public bool ShowContainers { get; private set; } = true;
public LibraryWidget(MainViewWidget mainViewWidget, ThemeConfig theme)
{

@ -1 +1 @@
Subproject commit f1ecc6df8707f9c2944c11c651e7401bf8beeb95
Subproject commit 3cb903b4355aef9bd5764d3e6066d6bc3746df2d