From 5369ee6819a26d9d3f106521c525c03f81a943ce Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 6 Feb 2012 23:26:20 +0100 Subject: Group header improvements - Use a simpler background and colors as suggested by Martin Zilz. This is just an early draft, I need to post some comparison screenshots to Martin for review. - Fixes of some layout issues that have been revealed because of adjusting the group header heights. - More clever animation/no-animation detection when doing listview-property changes in parallel. --- src/views/dolphinitemlistcontainer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/views/dolphinitemlistcontainer.cpp') diff --git a/src/views/dolphinitemlistcontainer.cpp b/src/views/dolphinitemlistcontainer.cpp index 4f7a0e06b..65f69d963 100644 --- a/src/views/dolphinitemlistcontainer.cpp +++ b/src/views/dolphinitemlistcontainer.cpp @@ -242,8 +242,10 @@ void DolphinItemListContainer::updateGridSize() // Apply the calculated values styleOption.margin = innerMargin; styleOption.iconSize = iconSize; + m_fileItemListView->beginTransaction(); m_fileItemListView->setStyleOption(styleOption); m_fileItemListView->setItemSize(QSizeF(itemWidth, itemHeight)); + m_fileItemListView->endTransaction(); } void DolphinItemListContainer::updateFont() -- cgit v1.3