Fix theming issues with the ObjectDB profiler

This commit is contained in:
Michael Alexsander
2026-01-06 20:10:56 -03:00
parent 82bc54c7d6
commit ce648d13e3
8 changed files with 52 additions and 24 deletions
@@ -80,6 +80,8 @@ void SnapshotObjectView::show_snapshot(GameStateSnapshot *p_data, GameStateSnaps
object_list->set_hide_root(true);
object_list->set_columns(diff_data ? 5 : 4);
object_list->set_column_titles_visible(true);
object_list->set_theme_type_variation("TreeSecondary");
int offset = 0;
if (diff_data) {
object_list->set_column_title(0, TTRC("Snapshot"));
@@ -87,6 +89,7 @@ void SnapshotObjectView::show_snapshot(GameStateSnapshot *p_data, GameStateSnaps
object_list->set_column_title_tooltip_text(0, "A: " + snapshot_data->name + ", B: " + diff_data->name);
offset++;
}
object_list->set_column_title(offset + 0, TTRC("Class"));
object_list->set_column_expand(offset + 0, true);
object_list->set_column_title_tooltip_text(offset + 0, TTRC("Object's class"));