mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Fixes Editor Scales in OpenXR GUI
This commit is contained in:
parent
8bd9cdeea6
commit
0ead587fa2
6 changed files with 19 additions and 10 deletions
|
|
@ -33,6 +33,8 @@
|
|||
#include "../action_map/openxr_interaction_profile_metadata.h"
|
||||
#include "../openxr_api.h"
|
||||
|
||||
#include "editor/themes/editor_scale.h"
|
||||
|
||||
void OpenXRSelectInteractionProfileDialog::_bind_methods() {
|
||||
ADD_SIGNAL(MethodInfo("interaction_profile_selected", PropertyInfo(Variant::STRING, "interaction_profile")));
|
||||
}
|
||||
|
|
@ -116,7 +118,7 @@ OpenXRSelectInteractionProfileDialog::OpenXRSelectInteractionProfileDialog() {
|
|||
set_title(TTR("Select an interaction profile"));
|
||||
|
||||
scroll = memnew(ScrollContainer);
|
||||
scroll->set_custom_minimum_size(Size2(600.0, 400.0));
|
||||
scroll->set_custom_minimum_size(Size2(600.0 * EDSCALE, 400.0 * EDSCALE));
|
||||
add_child(scroll);
|
||||
|
||||
main_vb = memnew(VBoxContainer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue