┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2012-02-06 23:26:20 +0100
committerPeter Penz <[email protected]>2012-02-06 23:31:49 +0100
commit5369ee6819a26d9d3f106521c525c03f81a943ce (patch)
treeb6a31372f7fa6cd58aac1c7faeca6d5d96d50e32 /src/views
parent7af39fb960352e0504153c627db0615d80758ebe (diff)
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.
Diffstat (limited to 'src/views')
-rw-r--r--src/views/dolphinitemlistcontainer.cpp2
1 files changed, 2 insertions, 0 deletions
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()