1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-30 18:30:54 +00:00

Merge pull request #113816 from YeldhamDev/there_is_nothing_more_permanent_than_a_temporary_solution

Add leftover scroll hints, and panels for scrollables without hints
This commit is contained in:
Rémi Verschelde
2025-12-12 17:13:13 +01:00
18 changed files with 87 additions and 28 deletions

View File

@@ -402,6 +402,7 @@ EditorNetworkProfiler::EditorNetworkProfiler() {
counters_display->set_column_title(2, TTRC("Outgoing RPC"));
counters_display->set_column_expand(2, false);
counters_display->set_column_clip_content(2, true);
counters_display->set_theme_type_variation("TreeSecondary");
counters_display->set_column_custom_minimum_width(2, 120 * EDSCALE);
sc->add_child(counters_display);
@@ -434,6 +435,7 @@ EditorNetworkProfiler::EditorNetworkProfiler() {
replication_display->set_column_expand(4, false);
replication_display->set_column_clip_content(4, true);
replication_display->set_column_custom_minimum_width(4, 80 * EDSCALE);
replication_display->set_theme_type_variation("TreeSecondary");
replication_display->connect("button_clicked", callable_mp(this, &EditorNetworkProfiler::_replication_button_clicked));
sc->add_child(replication_display);

View File

@@ -381,6 +381,7 @@ ObjectDBProfilerPanel::ObjectDBProfilerPanel() {
snapshot_list->set_h_size_flags(SizeFlags::SIZE_EXPAND_FILL);
snapshot_list->set_v_size_flags(SizeFlags::SIZE_EXPAND_FILL);
snapshot_list->set_anchors_preset(LayoutPreset::PRESET_FULL_RECT);
snapshot_list->set_theme_type_variation("TreeSecondary");
snapshot_list->set_allow_rmb_select(true);
snapshot_list->connect("item_mouse_selected", callable_mp(this, &ObjectDBProfilerPanel::_snapshot_rmb));