SEBWIN-329: Changed browser toolbar height if URL textbox is not visible in mobile UI.

This commit is contained in:
dbuechel 2019-06-27 15:10:37 +02:00
parent c38e57e081
commit cab1b3b049

View file

@ -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()