Fixed dialog size
This commit is contained in:
parent
15208178b1
commit
ebb643c8d1
3 changed files with 3 additions and 3 deletions
|
|
@ -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 == "")
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue