Made display mode driven by theme setting.
This commit is contained in:
parent
bda5ac173e
commit
a4ef3f729c
4 changed files with 34 additions and 3 deletions
|
|
@ -110,7 +110,10 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
GuiWidget.DefaultEnforceIntegerBounds = true;
|
||||
|
||||
//TextWidget.GlobalPointSizeScaleRatio = 1.3;
|
||||
if (ActiveTheme.Instance.DisplayMode == ActiveTheme.ApplicationDisplayType.Touchscreen)
|
||||
{
|
||||
TextWidget.GlobalPointSizeScaleRatio = 1.3;
|
||||
}
|
||||
|
||||
this.AddChild(ApplicationController.Instance.MainView);
|
||||
this.MinimumSize = new Vector2(400, 400);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue