The Following User Says Thank You to coderus For This Useful Post: | ||
|
2020-08-31
, 15:10
|
Posts: 301 |
Thanked: 531 times |
Joined on Aug 2010
@ The Netherlands
|
#112
|
The Following User Says Thank You to rob_kouw For This Useful Post: | ||
|
2020-09-01
, 10:43
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#113
|
Alright. Well, I looked at c++ and didn't know how to implement it. So I just leave it for now.
First page is here: https://github.com/cow-n-berg/harbou...CachesPage.qml
I think I don't mess around with any height, only for the ListItem. How can it happen?
|
2020-09-01
, 20:35
|
Posts: 301 |
Thanked: 531 times |
Joined on Aug 2010
@ The Netherlands
|
#114
|
I note from your CachesPage.qml you have set allowedOrientations to Portrait only, perhaps to add Landscape also. I'm not sure if this will fix the problem, but it can't be helping.
The Following User Says Thank You to rob_kouw For This Useful Post: | ||
|
2020-09-01
, 21:16
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#115
|
import QtQuick 2.0 import Sailfish.Silica 1.0 import Sailfish.Lipstick 1.0 <----- import Lipstick import "weather.js" as WeatherData Grid { id: labels property bool rotated: { <----add this Lipstick.compositor.topmostWindowOrientation & (Qt.LandscapeOrientation | Qt.InvertedLandscapeOrientation) } rows: 2 columns: 2 // rotated ? landscape : portrait rowSpacing: rotated ? 270 : 580 < -----and adjust this with the 'rotated' property columnSpacing: rotated ? 500 : 170 anchors.centerIn: parent
[W] unknown:10 - file:///usr/share/wind-dash/qml/pages/Labels.qml:10: ReferenceError: Lipstick is not defined
The Following User Says Thank You to Markkyboy For This Useful Post: | ||
|
2020-09-01
, 21:35
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#116
|
The Following User Says Thank You to coderus For This Useful Post: | ||
|
2020-09-01
, 21:54
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#117
|
The Following User Says Thank You to Markkyboy For This Useful Post: | ||
|
2020-09-01
, 21:57
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#119
|
The Following User Says Thank You to Markkyboy For This Useful Post: | ||
|
2020-09-02
, 16:14
|
|
Posts: 433 |
Thanked: 727 times |
Joined on Oct 2012
@ Costa Blanca, Espaņa
|
#120
|
import QtQuick 2.0 import Sailfish.Silica 1.0 import "weather.js" as WeatherData Grid { id: labels rows: 2 columns: 2 rowSpacing: isLandscape ? 270 : 580 columnSpacing: isLandscape ? 500 : 170 anchors.centerIn: parent
Telegram | Openrepos | GitHub | Revolut donations