commit libqt5-qtquickcontrols for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package libqt5-qtquickcontrols for openSUSE:Factory checked in at 2014-11-10 17:28:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqt5-qtquickcontrols (Old) and /work/SRC/openSUSE:Factory/.libqt5-qtquickcontrols.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libqt5-qtquickcontrols" Changes: -------- --- /work/SRC/openSUSE:Factory/libqt5-qtquickcontrols/libqt5-qtquickcontrols.changes 2014-09-18 07:56:55.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libqt5-qtquickcontrols.new/libqt5-qtquickcontrols.changes 2014-11-10 17:28:39.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Nov 4 18:42:04 UTC 2014 - hrvoje.senjan@gmail.com + +- Added 0001-Correct-sizing-of-combobox-items.patch from upstream + +------------------------------------------------------------------- New: ---- 0001-Correct-sizing-of-combobox-items.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt5-qtquickcontrols.spec ++++++ --- /var/tmp/diff_new_pack.19yWvW/_old 2014-11-10 17:28:39.000000000 +0100 +++ /var/tmp/diff_new_pack.19yWvW/_new 2014-11-10 17:28:39.000000000 +0100 @@ -30,6 +30,8 @@ %define so_version 5.3.2 %define tar_version qtquickcontrols-opensource-src-%{real_version} Source: %{tar_version}.tar.xz +# PATCH-FIX-UPSTREAM 0001-Correct-sizing-of-combobox-items.patch +Patch0: 0001-Correct-sizing-of-combobox-items.patch BuildRequires: fdupes BuildRequires: libQt5Core-private-headers-devel >= %{version} BuildRequires: libQt5Gui-private-headers-devel >= %{version} @@ -57,6 +59,7 @@ %prep %setup -q -n qtquickcontrols-opensource-src-%{real_version} +%patch0 -p1 %build %if %qt5_snapshot ++++++ 0001-Correct-sizing-of-combobox-items.patch ++++++
From 4d9753fd68fb91b4a839e546553b751a455a9818 Mon Sep 17 00:00:00 2001 From: Marco Martin
Date: Mon, 27 Oct 2014 17:24:11 +0100 Subject: [PATCH 1/1] Correct sizing of combobox items
The qstyle can set as preferred size for itemview items a different
size than the text height depending from the result of
sizeFromContents( CT_ItemViewItem, ..
Examples of styles that do this, are Oxygen and Breeze,
in order to have a bit more spacing.
This makes the combobox render incorrectly.
This patch makes use of the size hint of the qstyle instead of the
text height. Since the height can be more than the font height,
the text (and optional icon) are now drawn vertically centered
in the delegate.
Change-Id: I898d85c994d5760979750c2f3a5dafd83f1e3cbd
Reviewed-by: J-P Nurmi
participants (1)
-
root@hilbert.suse.de