Start Patch and Surface inspector dialogues at the smallest size.

This commit is contained in:
Marco Cawthorne 2021-11-01 00:35:55 +01:00
parent 18810b4edd
commit e60f3dfb74
Signed by: eukara
GPG key ID: C196CD8BA993248A
3 changed files with 6 additions and 2 deletions

View file

@ -1941,8 +1941,8 @@ ui::MenuItem create_edit_menu()
}*/
undobutton = create_menu_item_with_mnemonic(menu, "_Undo", "Undo");
redobutton = create_menu_item_with_mnemonic(menu, "_Redo", "Redo");
gtk_menu_item_set_label(undobutton, "Undo (Nothing...)");
gtk_menu_item_set_label(redobutton, "Redo (Nothing...)");
Undo_DisableButton();
Redo_DisableButton();
menu_separator(menu);
create_menu_item_with_mnemonic(menu, "_Copy", "Copy");
create_menu_item_with_mnemonic(menu, "_Paste", "Paste");

View file

@ -1092,6 +1092,8 @@ ui::Window PatchInspector::BuildDialog()
}
}
/* make small */
gtk_window_set_default_size(GTK_WINDOW(window), 8, 8);
return window;
}

View file

@ -1228,6 +1228,8 @@ ui::Window SurfaceInspector::BuildDialog()
#endif
}
/* make small */
gtk_window_set_default_size(GTK_WINDOW(window), 8, 8);
return window;
}