Made menus resolution sensitive

Put in default note options for history
This commit is contained in:
LarsBrubaker 2020-08-14 21:56:39 -07:00
parent fc4dd6d72d
commit 0c99e76f4e
12 changed files with 70 additions and 74 deletions

View file

@ -38,11 +38,13 @@ namespace MatterHackers.MatterControl
{
private MHTextEditWidget textEditWidget;
public override string Text { get => textEditWidget.Text; set => textEditWidget.Text = value; }
public InputBoxPage(string windowTitle, string label, string initialValue, string emptyText, string actionButtonTitle, Action<string> action)
{
this.WindowTitle = windowTitle;
this.HeaderText = windowTitle;
this.WindowSize = new Vector2(500, 200);
this.WindowSize = new Vector2(500 * GuiWidget.DeviceScale, 200 * GuiWidget.DeviceScale);
GuiWidget actionButton = null;