SEBWIN-329: Changed browser toolbar height if URL textbox is not visible in mobile UI.
This commit is contained in:
parent
c38e57e081
commit
cab1b3b049
1 changed files with 9 additions and 0 deletions
|
@ -247,6 +247,15 @@ namespace SafeExamBrowser.UserInterface.Mobile
|
||||||
ReloadButton.Visibility = WindowSettings.AllowReloading ? Visibility.Visible : Visibility.Collapsed;
|
ReloadButton.Visibility = WindowSettings.AllowReloading ? Visibility.Visible : Visibility.Collapsed;
|
||||||
|
|
||||||
UrlTextBox.Visibility = WindowSettings.AllowAddressBar ? Visibility.Visible : Visibility.Hidden;
|
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()
|
private void InitializeBounds()
|
||||||
|
|
Loading…
Reference in a new issue