mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Initial editor accessibility.
This commit is contained in:
parent
4310cb82b8
commit
302fa831cc
137 changed files with 1544 additions and 93 deletions
|
|
@ -633,6 +633,7 @@ Sprite2DEditor::Sprite2DEditor() {
|
|||
simplification->set_max(10.00);
|
||||
simplification->set_step(0.01);
|
||||
simplification->set_value(2);
|
||||
simplification->set_accessibility_name(TTRC("Simplification"));
|
||||
hb->add_child(simplification);
|
||||
hb->add_spacer();
|
||||
hb->add_child(memnew(Label(TTR("Shrink (Pixels):"))));
|
||||
|
|
@ -641,6 +642,7 @@ Sprite2DEditor::Sprite2DEditor() {
|
|||
shrink_pixels->set_max(10);
|
||||
shrink_pixels->set_step(1);
|
||||
shrink_pixels->set_value(0);
|
||||
shrink_pixels->set_accessibility_name(TTRC("Shrink"));
|
||||
hb->add_child(shrink_pixels);
|
||||
hb->add_spacer();
|
||||
hb->add_child(memnew(Label(TTR("Grow (Pixels):"))));
|
||||
|
|
@ -649,6 +651,7 @@ Sprite2DEditor::Sprite2DEditor() {
|
|||
grow_pixels->set_max(10);
|
||||
grow_pixels->set_step(1);
|
||||
grow_pixels->set_value(2);
|
||||
grow_pixels->set_accessibility_name(TTRC("Grow"));
|
||||
hb->add_child(grow_pixels);
|
||||
hb->add_spacer();
|
||||
update_preview = memnew(Button);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue