View Single Post
Posts: 202 | Thanked: 385 times | Joined on Jul 2018
#12
Originally Posted by coderus View Post
what you saying is just works for me:
Code:
import QtQuick 2.2
import Sailfish.Silica 1.0
import org.nemomobile.lipstick 0.1

Wallpaper {
    id: wallpaper

    // All properties are applied to the rasterized texture. Changing it
    // means updating the texture and is thus very expensive. So don't go
    // animating them.
    textureSize: Qt.size(isLegacyWallpaper ? Screen.width : Screen.height, Screen.height)
//    effect: "glass"
    overlayColor: Theme.colorScheme === Theme.DarkOnLight
                  ? Qt.rgba(1.0, 1.0, 1.0, 0.35)
//                  : Qt.rgba(0.0, 0.0, 0.0, 0.6)
                  : Qt.rgba(0.18, 0.21, 0.24, 1.0)
    source: Theme.backgroundImage
}
And you get a colored bg?

For me, the 1.0 opacity works properly, but the bg ends up being black. 121518 rgb color should be a flat, dark navy-bluish color, (like the previous screenshot). Also, I can tell something's funny, because when I slowly swipe from the side, (as if to peek), it goes straight from black to totally transparent, with no fade, (whereas the normal behavior is a steady fade from the open app to the home screen)
Attached Images
  
 

The Following 3 Users Say Thank You to levone1 For This Useful Post: