You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Several visual improvements.
Added proper label sizing Improved text editor status bar Fixed some issues with ItemList and also some style fixes Added background to color picker samples (the mrcdk fix) Fixed slider ticks. Added VS breakpoint and error styleboxes.
This commit is contained in:
@@ -56,15 +56,15 @@ void EditorFileDialog::_notification(int p_what) {
|
||||
//_update_icons
|
||||
mode_thumbnails->set_icon(get_icon("FileThumbnail", "EditorIcons"));
|
||||
mode_list->set_icon(get_icon("FileList", "EditorIcons"));
|
||||
dir_prev->set_icon(get_icon("ArrowLeft", "EditorIcons"));
|
||||
dir_next->set_icon(get_icon("ArrowRight", "EditorIcons"));
|
||||
dir_prev->set_icon(get_icon("Back", "EditorIcons"));
|
||||
dir_next->set_icon(get_icon("Forward", "EditorIcons"));
|
||||
dir_up->set_icon(get_icon("ArrowUp", "EditorIcons"));
|
||||
refresh->set_icon(get_icon("Reload", "EditorIcons"));
|
||||
favorite->set_icon(get_icon("Favorites", "EditorIcons"));
|
||||
|
||||
fav_up->set_icon(get_icon("MoveUp", "EditorIcons"));
|
||||
fav_down->set_icon(get_icon("MoveDown", "EditorIcons"));
|
||||
fav_rm->set_icon(get_icon("RemoveSmall", "EditorIcons"));
|
||||
fav_rm->set_icon(get_icon("Remove", "EditorIcons"));
|
||||
|
||||
} else if (p_what == NOTIFICATION_PROCESS) {
|
||||
|
||||
@@ -97,15 +97,15 @@ void EditorFileDialog::_notification(int p_what) {
|
||||
//_update_icons
|
||||
mode_thumbnails->set_icon(get_icon("FileThumbnail", "EditorIcons"));
|
||||
mode_list->set_icon(get_icon("FileList", "EditorIcons"));
|
||||
dir_prev->set_icon(get_icon("ArrowLeft", "EditorIcons"));
|
||||
dir_next->set_icon(get_icon("ArrowRight", "EditorIcons"));
|
||||
dir_prev->set_icon(get_icon("Back", "EditorIcons"));
|
||||
dir_next->set_icon(get_icon("Forward", "EditorIcons"));
|
||||
dir_up->set_icon(get_icon("ArrowUp", "EditorIcons"));
|
||||
refresh->set_icon(get_icon("Reload", "EditorIcons"));
|
||||
favorite->set_icon(get_icon("Favorites", "EditorIcons"));
|
||||
|
||||
fav_up->set_icon(get_icon("MoveUp", "EditorIcons"));
|
||||
fav_down->set_icon(get_icon("MoveDown", "EditorIcons"));
|
||||
fav_rm->set_icon(get_icon("RemoveSmall", "EditorIcons"));
|
||||
fav_rm->set_icon(get_icon("Remove", "EditorIcons"));
|
||||
|
||||
update_file_list();
|
||||
}
|
||||
@@ -1281,6 +1281,7 @@ EditorFileDialog::EditorFileDialog() {
|
||||
dir_prev = memnew(ToolButton);
|
||||
dir_next = memnew(ToolButton);
|
||||
dir_up = memnew(ToolButton);
|
||||
dir_up->set_tooltip(TTR("Go to parent folder"));
|
||||
|
||||
pathhb->add_child(dir_prev);
|
||||
pathhb->add_child(dir_next);
|
||||
@@ -1290,6 +1291,8 @@ EditorFileDialog::EditorFileDialog() {
|
||||
dir_next->connect("pressed", this, "_go_forward");
|
||||
dir_up->connect("pressed", this, "_go_up");
|
||||
|
||||
pathhb->add_child(memnew(Label(TTR("Path:"))));
|
||||
|
||||
dir = memnew(LineEdit);
|
||||
pathhb->add_child(dir);
|
||||
dir->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
@@ -1330,9 +1333,9 @@ EditorFileDialog::EditorFileDialog() {
|
||||
makedir->connect("pressed", this, "_make_dir");
|
||||
pathhb->add_child(makedir);
|
||||
|
||||
list_hb = memnew(HBoxContainer);
|
||||
list_hb = memnew(HSplitContainer);
|
||||
|
||||
vbc->add_margin_child(TTR("Path:"), pathhb);
|
||||
vbc->add_child(pathhb);
|
||||
vbc->add_child(list_hb);
|
||||
list_hb->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user