Commit b07d26d4 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner: Set the minimum width of navigator

We set the same minimum width the item library has.
This avoids overlapping icons, depending on the depth of the tree.
Since we are rewriting the tree view anyway this should be good
enough for now.

Task-number: QTCREATORBUG-18131
Change-Id: Id5f018c118499a8a47785282a25a29d40e0685b3
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent fab4dd06
......@@ -170,6 +170,7 @@ NavigatorTreeView::NavigatorTreeView(QWidget *parent)
: QTreeView(parent)
{
setStyle(new TableViewStyle(this));
setMinimumWidth(240);
}
void NavigatorTreeView::drawSelectionBackground(QPainter *painter, const QStyleOption &option)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment