From cab1b3b049ffecaab4c519e831e95fb02f9fb657 Mon Sep 17 00:00:00 2001 From: dbuechel Date: Thu, 27 Jun 2019 15:10:37 +0200 Subject: [PATCH] SEBWIN-329: Changed browser toolbar height if URL textbox is not visible in mobile UI. --- .../BrowserWindow.xaml.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/SafeExamBrowser.UserInterface.Mobile/BrowserWindow.xaml.cs b/SafeExamBrowser.UserInterface.Mobile/BrowserWindow.xaml.cs index 3526e8ae..cf4298c2 100644 --- a/SafeExamBrowser.UserInterface.Mobile/BrowserWindow.xaml.cs +++ b/SafeExamBrowser.UserInterface.Mobile/BrowserWindow.xaml.cs @@ -247,6 +247,15 @@ namespace SafeExamBrowser.UserInterface.Mobile ReloadButton.Visibility = WindowSettings.AllowReloading ? Visibility.Visible : Visibility.Collapsed; UrlTextBox.Visibility = WindowSettings.AllowAddressBar ? Visibility.Visible : Visibility.Hidden; + + if (!WindowSettings.AllowAddressBar) + { + BackwardButton.Height = 35; + ForwardButton.Height = 35; + ReloadButton.Height = 35; + UrlTextBox.Height = 20; + MenuButton.Height = 35; + } } private void InitializeBounds()