Skip to content
Snippets Groups Projects
Commit 486cc40a authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlDesigner.Navigator: minor cosmetic changes

parent 4e18decb
No related branches found
Tags v5.13.0 v5.13.0-rc3
No related merge requests found
......@@ -69,9 +69,9 @@ public:
drawSelectionBackground(painter, *option);
} else {
painter->save();
painter->setPen(QColor(0, 0, 0, 25));
painter->drawLine(option->rect.bottomLeft() - QPoint(0, 1), option->rect.bottomRight() - QPoint(0, 1));
painter->setPen(QColor(255, 255, 255, 15));
painter->drawLine(option->rect.topLeft(), option->rect.topRight());
painter->setPen(QColor(0, 0, 0, 25));
painter->drawLine(option->rect.bottomLeft(),option->rect.bottomRight());
painter->restore();
}
......@@ -152,7 +152,7 @@ void IdItemDelegate::paint(QPainter *painter,
}
QPixmap pixmap = icon.pixmap(22,22);
painter->drawPixmap(option.rect.x()+5,option.rect.y()+1,pixmap);
painter->drawPixmap(option.rect.x()+5,option.rect.y()+2,pixmap);
QString myString = node.id();
if (myString.isEmpty())
......
......@@ -80,7 +80,7 @@ void NavigatorWidget::setTreeModel(QAbstractItemModel* model)
{
m_treeView->setModel(model);
m_treeView->header()->setResizeMode(0, QHeaderView::Stretch);
m_treeView->header()->resizeSection(1,20);
m_treeView->header()->resizeSection(1,26);
m_treeView->setRootIsDecorated(false);
#ifdef _LOCK_ITEMS_
m_treeView->header()->resizeSection(2,20);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment