Page 1 of 1

SliderBackground and nbhoriz, nbvert . . .

Posted: 02 Aug 2006 14:52
by DonBilbo
hello everybody again. I was now creating the slider for my skin but now theres a problem. I can't see the sliderbackground. I think it has something to do with the nbhoriz, nbvert, padhoriz and padvert.

So now my question. What are these nbhoiz, nbvert . . . and what arguments I have to write in the " " .
When I start vlc, I get these errors:

[00000279] xml private error: XML parser error (line 105) : No declaration for attribute image of element SliderBackground

[00000279] xml private error: XML parser error (line 105) : No declaration for attribute nbhoriz of element SliderBackground

[00000279] xml private error: XML parser error (line 105) : No declaration for attribute nbvert of element SliderBackground

[00000279] xml private error: XML parser error (line 105) : No declaration for attribute padhoriz of element SliderBackground

[00000279] xml private error: XML parser error (line 105) : No declaration for attribute padvert of element SliderBackground

[00000279] xml private error: XML parser error (line 105) : No declaration for element SliderBackground

[00000279] xml private error: XML parser error (line 95) : Element Slider was declared EMPTY this one has content

[00000279] xml private error: XML parser error (line 95) : Element Slider was declared EMPTY this one has content

[00000279] xml private error: XML parser error (line 95) : No declaration for element SliderBackground

[00000279] xml private error: XML parser error (line 95) : Element Slider was declared EMPTY this one has content

[00000279] xml private error: XML parser error (line 108) : No declaration for attribute image of element SliderBackground

[00000279] xml private error: XML parser error (line 108) : No declaration for element SliderBackground

[00000279] xml private error: XML parser error (line 95) : Element Slider was declared EMPTY this one has content

[00000279] xml private error: XML parser error (line 95) : Element Slider was declared EMPTY this one has content

[00000279] xml private error: XML parser error (line 95) : No declaration for element SliderBackground

[00000279] xml private error: XML parser error (line 95) : Element Slider was declared EMPTY this one has content

Posted: 02 Aug 2006 15:01
by DonBilbo
and another problem:

the little slider-buttons for volume are visible, but the for play-time. On my linux-computer (with vlc 0.8.4a) they only become visible when I press somewhere in the time-slider. And on windows with the latest vlc version they aren't visible anyway, even though when I press somewhere in the time-slider.

Posted: 03 Aug 2006 00:02
by ipkiss
The first problem looks like the SliderBackground is unknown in the DTD, which means that the version of VLC you use does not support it. Did you try with 0.8.5 instead of 0.8.4a?
BTW, i just noticed that the documentation does not explain this tag, it will be fixed in a few days.

As for the second problem... I didn't understand anything :)

Posted: 03 Aug 2006 00:48
by Asim
BTW, i just noticed that the documentation does not explain this tag, it will be fixed in a few days.

it's about time ;)

Posted: 03 Aug 2006 10:49
by DonBilbo
As for the second problem... I didn't understand anything
:lol: :lol: :lol: :lol: :lol:

O.k. I'll try to explain it in another way:

volume-slider:
----------------------------------------------------------
|.........................(o)............................................................|
----------------------------------------------------------

This is my slider for volume. As you can se :D this little slider button (o) is visible. But in my play-slider the button is not visible.

play-slider:
----------------------------------------------------------
|........................................................................................|
----------------------------------------------------------
On vlc0.8.4a it beomes visible for a short time whe I press somewhere in the pay-slider-area. And on vlc0.8.5 it is not visible anyway.

Posted: 03 Aug 2006 18:57
by ipkiss
Are you sure you didn't place another control on top of it? Controls are drawn in the order in which they are defined in the XML file, so if you have defined another (bigger) control after this one in the XML, and if that control is positinoed at the same place, you may experience this behaviour...

Otherwise, I will need a way to reproduce the problem in order to fix it (for example you could send a link to your skin).

Posted: 03 Aug 2006 22:07
by DonBilbo
o.k. I can send you the skin with an email. Can you sand me your email-adress with an pm?

Thanks.

Posted: 03 Aug 2006 23:34
by DonBilbo
I have solved the second problem with the play-slider-button. But I've still got the one with the SliderBackground. And I think the information about nbhoriz, nbvert, padhoriz and padvert would help to solve this, too.

Posted: 05 Aug 2006 03:32
by DonBilbo
and now I've solved the first problem, too thanks to @$im's link:

viewtopic.php?t=14627

and of course thanks to ipkiss, too ;-)