frontend: Adjust styling for SourceTree
This commit is contained in:
parent
a0248a319f
commit
c942731aaf
2 changed files with 25 additions and 58 deletions
|
|
@ -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()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue