frontend: Adjust styling for SourceTree

This commit is contained in:
Warchamp7
2025-04-03 14:18:46 -04:00
parent a0248a319f
commit c942731aaf
2 changed files with 25 additions and 58 deletions
+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()));
}