[app] Fixed wrapping of "No books" label

This commit is contained in:
Slava Monich 2016-07-27 23:25:20 +03:00
parent a6727badb6
commit fd0724aa90

View file

@ -1,5 +1,5 @@
/* /*
Copyright (C) 2015 Jolla Ltd. Copyright (C) 2015-2016 Jolla Ltd.
Contact: Slava Monich <slava.monich@jolla.com> Contact: Slava Monich <slava.monich@jolla.com>
You may use this file under the terms of BSD license as follows: You may use this file under the terms of BSD license as follows:
@ -12,9 +12,9 @@
* Redistributions in binary form must reproduce the above copyright * Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution. documentation and/or other materials provided with the distribution.
* Neither the name of the Jolla Ltd nor the * Neither the name of Jolla Ltd nor the names of its contributors may
names of its contributors may be used to endorse or promote products be used to endorse or promote products derived from this software
derived from this software without specific prior written permission. without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
@ -49,6 +49,7 @@ Item {
text: qsTrId("shelf-view-no-books") text: qsTrId("shelf-view-no-books")
visible: footerState == 2 && !editMode visible: footerState == 2 && !editMode
anchors.centerIn: parent anchors.centerIn: parent
width: parent.width - 2*Theme.horizontalPageMargin
} }
BusyIndicator { BusyIndicator {