mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-27 02:42:26 -04:00
frontend: Adjust styling for SourceTree
This commit is contained in:
@@ -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()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user