summaryrefslogtreecommitdiff
path: root/editor/project_manager.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-02-10 11:28:32 +0100
committerGitHub <noreply@github.com>2020-02-10 11:28:32 +0100
commit01d487c4f5046fcf2870be699a66da2c6dd71808 (patch)
tree3e320066fdd390be3639fe42eea6cccd3ebb1aea /editor/project_manager.cpp
parenta8327762622ee00dba6806cbdfdbd2152bfd48db (diff)
parent82c8751e651622b45e5f2d006354a9ceda63916d (diff)
Merge pull request #34027 from Calinou/tweak-project-manager-renderer-selection
Improve the renderer selection display in the project manager
Diffstat (limited to 'editor/project_manager.cpp')
-rw-r--r--editor/project_manager.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp
index d1a2a5fe2b..9cc2a79399 100644
--- a/editor/project_manager.cpp
+++ b/editor/project_manager.cpp
@@ -885,7 +885,8 @@ public:
rs_button->set_pressed(true);
rvb->add_child(rs_button);
l = memnew(Label);
- l->set_text(TTR("Higher visual quality\nAll features available\nIncompatible with older hardware\nNot recommended for web games"));
+ l->set_text(TTR("- Higher visual quality\n- All features available\n- Incompatible with older hardware\n- Not recommended for web games"));
+ l->set_modulate(Color(1, 1, 1, 0.7));
rvb->add_child(l);
rshb->add_child(memnew(VSeparator));
@@ -899,12 +900,17 @@ public:
rs_button->set_meta("driver_name", "GLES2");
rvb->add_child(rs_button);
l = memnew(Label);
- l->set_text(TTR("Lower visual quality\nSome features not available\nWorks on most hardware\nRecommended for web games"));
+ l->set_text(TTR("- Lower visual quality\n- Some features not available\n- Works on most hardware\n- Recommended for web games"));
+ l->set_modulate(Color(1, 1, 1, 0.7));
rvb->add_child(l);
l = memnew(Label);
- l->set_text(TTR("Renderer can be changed later, but scenes may need to be adjusted."));
+ l->set_text(TTR("The renderer can be changed later, but scenes may need to be adjusted."));
+ // Add some extra spacing to separate it from the list above and the buttons below.
+ l->set_custom_minimum_size(Size2(0, 40) * EDSCALE);
l->set_align(Label::ALIGN_CENTER);
+ l->set_valign(Label::VALIGN_CENTER);
+ l->set_modulate(Color(1, 1, 1, 0.7));
rasterizer_container->add_child(l);
fdialog = memnew(FileDialog);