Put in a first pass at a text size control.
This commit is contained in:
parent
0c64f9ff30
commit
4b88969c4e
4 changed files with 85 additions and 0 deletions
|
|
@ -274,6 +274,16 @@ namespace MatterHackers.MatterControl
|
|||
GuiWidget.DeviceScale = 1.3;
|
||||
SystemWindow.ShareSingleOsWindow = true;
|
||||
}
|
||||
string textSizeMode = UserSettings.Instance.get(UserSettingsKey.ApplicationTextSize);
|
||||
if (!string.IsNullOrEmpty(textSizeMode))
|
||||
{
|
||||
double textSize = 1.0;
|
||||
if(double.TryParse(textSizeMode, out textSize))
|
||||
{
|
||||
GuiWidget.DeviceScale = textSize;
|
||||
}
|
||||
}
|
||||
|
||||
//GuiWidget.DeviceScale = 2;
|
||||
|
||||
using (new PerformanceTimer("Startup", "MainView"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue