mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-27 16:29:04 -04:00
frontend: Adjust styling for SourceTree
This commit is contained in:
1 parent
a0248a319f
commit
c942731aaf
2 files changed
+25
-58
No files matched your search
@@ -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