[SailfishDevel] ScrollDecorators' Colour

Krisztian Olah fasza2mobile at gmail.com
Tue Jun 3 05:31:12 UTC 2014


Thanks Andrey, now it makes complete sense. Just one more question: Then
ScrollDecorator is NOT derived from Vertical- and HorizontalScrollDecorator
but composes/contains them, right?


On 3 June 2014 05:11, Andrey Kozhevnikov <coderusinbox at gmail.com> wrote:

>  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> 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 to devel-unsubscribe at lists.sailfishos.org
>>
>>
>>
>> _______________________________________________
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscribe at lists.sailfishos.org
>>
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to 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/0116f2f1/attachment.html>


More information about the Devel mailing list