From 9e7983a0896aa13d859b413a888a325bba177c0a Mon Sep 17 00:00:00 2001 From: David Rosca Date: Tue, 22 Mar 2016 16:50:29 +0100 Subject: [PATCH] Expand size of CT_ItemViewItem also with QtQuickControls Fixes the spacing in view items, including ComboBox popup. REVIEW: 127463 --- kstyle/breezestyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index faba6dca..c63a5c48 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -2922,7 +2922,7 @@ namespace Breeze { // call base class const QSize size( ParentStyleClass::sizeFromContents( CT_ItemViewItem, option, contentsSize, widget ) ); - return isQtQuickControl( option, widget ) ? size:expandSize( size, Metrics::ItemView_ItemMarginWidth ); + return expandSize( size, Metrics::ItemView_ItemMarginWidth ); } //______________________________________________________________