frontend: Adjust styling for SourceTree

This commit is contained in:
Warchamp7 committed 2025-04-03 14:18:46 -04:00
1 parent a0248a319f
commit c942731aaf
2 files changed
+25 -58

No files matched your search

+2 -2
View File
@@ -10,7 +10,7 @@ QSize SourceTreeDelegate::sizeHint(const QStyleOptionViewItem &option, const QMo
QWidget *item = tree->indexWidget(index);
if (!item)
return (QSize(0, 0));
return QStyledItemDelegate::sizeHint(option, index);
return (QSize(option.widget->minimumWidth(), item->height()));
return (QSize(item->sizeHint()));
}