[SailfishDevel] ScrollDecorators' Colour

Andrey Kozhevnikov coderusinbox at gmail.com
Tue Jun 3 05:11:29 UTC 2014


ScrollDecorator component cannot be colored. Only Vertical and 
Horizontal separately.
Vertical/HorizontalScrollDecorator inherits Rectangle, so you should 
understand now how to use it ;)

03.06.2014 11:07, Krisztian Olah ?????:
> Ouch, that did hurt. I only checked ScrollDecocartor in QtCreator not 
> the horizontal or vertical one.  Mind you it is not documented at 
> https://sailfishos.org/sailfish-silica/sailfish-silica-all.html for 
> either of them.
>
> Sorry for the silly question. :$
>
>
> On 3 June 2014 04:46, Andrey Kozhevnikov <coderusinbox at gmail.com 
> <mailto:coderusinbox at gmail.com>> wrote:
>
>     ORLY?
>
>     SilicaListView / SilicaFlickable {
>         ...
>         VerticalScrollDecorator { color: "red" }
>     }
>
>     03.06.2014 10:41, Krisztian Olah ?????:
>>     Hi list,
>>
>>       Is it possible to change the colour of the ScrollDecorator
>>     component? I couldn't find anything regarding this in the Silica
>>     reference nor anywhere else. I remembered that the browser has
>>     been opened so I checked in the source, but it seems to have been
>>     reimplemented in QML.
>>       ScrollDecorator doesn't seem to have a color property, so if it
>>     is left out is it due to some technical reason?
>>
>>     Thanks in advance for any insight
>>     Kris
>>
>>
>>     PS.: It would be nice if all theme dependent colours in the
>>     Silica Reference were available to be pryed uppon under "Theme".
>>     I found "highlightDimmerColor" and "highlightBackgroundColor" in
>>     Sailfish browser's source; I saw highlightBackgroundColor
>>     somewhere before, but I can't recall in what document, in any
>>     case neither of them are in Theme's documentation.
>>
>>
>>     _______________________________________________
>>     SailfishOS.org Devel mailing list
>>     To unsubscribe, please send a mail todevel-unsubscribe at lists.sailfishos.org  <mailto:devel-unsubscribe at lists.sailfishos.org>
>
>
>     _______________________________________________
>     SailfishOS.org Devel mailing list
>     To unsubscribe, please send a mail to
>     devel-unsubscribe at lists.sailfishos.org
>     <mailto:devel-unsubscribe at lists.sailfishos.org>
>
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140603/0b0ac447/attachment-0001.html>


More information about the Devel mailing list