Changeset View
Changeset View
Standalone View
Standalone View
src/styles/Desktop/AbstractListItem.qml
Show All 12 Lines | |||||
13 | * | 13 | * | ||
14 | * You should have received a copy of the GNU Library General Public | 14 | * You should have received a copy of the GNU Library General Public | ||
15 | * License along with this program; if not, write to the | 15 | * License along with this program; if not, write to the | ||
16 | * Free Software Foundation, Inc., | 16 | * Free Software Foundation, Inc., | ||
17 | * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | import QtQuick 2.1 | 20 | import QtQuick 2.1 | ||
21 | import org.kde.kirigami 1.0 | 21 | import org.kde.kirigami 2.0 | ||
22 | import "../../private" | 22 | import "../../private" | ||
23 | import "../../templates" as T | 23 | import "../../templates" as T | ||
24 | 24 | | |||
25 | T.AbstractListItem { | 25 | T.AbstractListItem { | ||
26 | id: listItem | 26 | id: listItem | ||
27 | 27 | | |||
28 | background: DefaultListItemBackground {} | 28 | background: DefaultListItemBackground {} | ||
29 | implicitHeight: listItem.contentItem.height + Units.smallSpacing*4 | 29 | implicitHeight: contentItem.implicitHeight + Units.smallSpacing * 4 | ||
30 | } | 30 | } |