From ff38f8f36d4be4e0ed74964bb7983890d655c019 Mon Sep 17 00:00:00 2001 From: dbuechel Date: Fri, 16 Aug 2019 10:16:11 +0200 Subject: [PATCH] Fixed font sizes for about window of mobile UI. --- SafeExamBrowser.UserInterface.Mobile/AboutWindow.xaml | 8 ++++---- SafeExamBrowser.UserInterface.Mobile/AboutWindow.xaml.cs | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/SafeExamBrowser.UserInterface.Mobile/AboutWindow.xaml b/SafeExamBrowser.UserInterface.Mobile/AboutWindow.xaml index 8feb78f2..a12c8221 100644 --- a/SafeExamBrowser.UserInterface.Mobile/AboutWindow.xaml +++ b/SafeExamBrowser.UserInterface.Mobile/AboutWindow.xaml @@ -5,8 +5,8 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:SafeExamBrowser.UserInterface.Mobile" mc:Ignorable="d" - Title="Version & License Information" Background="White" Height="325" Width="575" ResizeMode="NoResize" Icon="./Images/SafeExamBrowser.ico" - ShowInTaskbar="False" WindowStartupLocation="CenterScreen"> + Title="Version & License Information" Background="White" Height="450" Width="675" ResizeMode="NoResize" Icon="./Images/SafeExamBrowser.ico" + FontSize="16" ShowInTaskbar="False" WindowStartupLocation="CenterScreen"> @@ -17,9 +17,9 @@ - + - + This application is subject to the terms of the Mozilla Public License, version 2.0. If a copy of the MPL was not distributed with this application, you can obtain one at http://mozilla.org/MPL/2.0/. diff --git a/SafeExamBrowser.UserInterface.Mobile/AboutWindow.xaml.cs b/SafeExamBrowser.UserInterface.Mobile/AboutWindow.xaml.cs index 1bb2e79b..7fd007c7 100644 --- a/SafeExamBrowser.UserInterface.Mobile/AboutWindow.xaml.cs +++ b/SafeExamBrowser.UserInterface.Mobile/AboutWindow.xaml.cs @@ -45,12 +45,12 @@ namespace SafeExamBrowser.UserInterface.Mobile private void InitializeAboutWindow() { Closing += (o, args) => closing?.Invoke(); - VersionInfo.Inlines.Add(new Run($"{text.Get(TextKey.Version)} {appConfig.ProgramInformationalVersion}") { FontSize = 12 }); + VersionInfo.Inlines.Add(new Run($"{text.Get(TextKey.Version)} {appConfig.ProgramInformationalVersion}")); VersionInfo.Inlines.Add(new LineBreak()); - VersionInfo.Inlines.Add(new Run($"{text.Get(TextKey.Build)} {appConfig.ProgramBuildVersion}") { FontSize = 8, Foreground = Brushes.Gray }); + VersionInfo.Inlines.Add(new Run($"{text.Get(TextKey.Build)} {appConfig.ProgramBuildVersion}") { FontSize = 10, Foreground = Brushes.Gray }); VersionInfo.Inlines.Add(new LineBreak()); VersionInfo.Inlines.Add(new LineBreak()); - VersionInfo.Inlines.Add(new Run(appConfig.ProgramCopyright) { FontSize = 10, Foreground = Brushes.Gray }); + VersionInfo.Inlines.Add(new Run(appConfig.ProgramCopyright) { FontSize = 12, Foreground = Brushes.Gray }); } } }