Changeset View
Changeset View
Standalone View
Standalone View
examples/gallery/contents/ui/gallery/MultipleColumnsGallery.qml
Show All 14 Lines | |||||
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 02110-1301, USA. | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | import QtQuick 2.0 | 20 | import QtQuick 2.0 | ||
21 | import QtQuick.Controls 1.2 as Controls | 21 | import QtQuick.Controls 1.2 as Controls | ||
22 | import QtQuick.Layouts 1.2 | 22 | import QtQuick.Layouts 1.2 | ||
23 | import org.kde.kirigami 1.0 | 23 | import org.kde.kirigami 2.0 | ||
24 | 24 | | |||
25 | ScrollablePage { | 25 | ScrollablePage { | ||
26 | id: page | 26 | id: page | ||
27 | Layout.fillWidth: true | 27 | Layout.fillWidth: true | ||
28 | //implicitWidth: Units.gridUnit * (Math.floor(Math.random() * 35) + 8) | 28 | //implicitWidth: Units.gridUnit * (Math.floor(Math.random() * 35) + 8) | ||
29 | 29 | | |||
30 | title: "Multiple Columns" | 30 | title: "Multiple Columns" | ||
31 | 31 | | |||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |