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 == "")
{