зеркало из https://github.com/mozilla/gecko-dev.git
When prompting/alerting the user (during a form post, etc.), the dialog that is displayed is wider than the viewable screen on small screens. This patch reduces the min size of the dialog. b=229156, r=blizzard
This commit is contained in:
Родитель
43fb01fc56
Коммит
06086a0274
|
@ -105,7 +105,7 @@ EmbedPrompter::Create(PromptType aType, GtkWindow* aParentWindow)
|
|||
NULL);
|
||||
|
||||
// gtk will resize this for us as necessary
|
||||
gtk_window_set_default_size(GTK_WINDOW(mWindow), 200, 100);
|
||||
gtk_window_set_default_size(GTK_WINDOW(mWindow), 100, 50);
|
||||
|
||||
// this HBox will contain the icon, and a vbox which contains the
|
||||
// dialog text and other widgets.
|
||||
|
|
Загрузка…
Ссылка в новой задаче