RSATom / QmlVlc

[ABANDONED] libvlc wrapper for Qt Quick 2/Qml
Other
139 stars 56 forks source link

It seems the video.marque not show above the video. #12

Closed kingctan closed 10 years ago

kingctan commented 10 years ago

I set the marque like this: in main.c:

QmlVlcConfig::enableMarqueeFilter(true);

and in QML:

VlcPlayer{
id:player
Component.onComplete:{
player.video.marquee.enable();
video.marque.text="TEST,TTTTTTTTTTTTTT"
video.marque.size=20
video.marque.position="top"

how to fix it,thanks a lot.

RSATom commented 10 years ago

try

Component.onCompleted: {
    video.marquee.enable();
    video.marquee.text="TEST,TTTTTTTTTTTTTT"
    video.marquee.size=20
    video.marquee.position="top"
}
RSATom commented 10 years ago

you've just lost 'd' on the end of 'onCompleted' and 'e' on the end of 'marquee'

kingctan commented 10 years ago

Oh, sorry, it's my mistake when type here, not copy from the code. So, my code has the 'd' and 'e', and the marquee don't show. Thank you for answer.

RSATom commented 10 years ago

try to enable verbose mode with

QmlVlcConfig::enableDebug( true );

and look to output pane in qtcreator. Or copy it here, i'll look.

RSATom commented 10 years ago

sorry, can't reproduce...