Project

General

Profile

WMediaPlayer setProgressBar for time progress makes the bar 2% longer

Added by Long Nguyễn Đức about 9 years ago

I am using Wt 3.3.5. If I use setProgressBar to set time progress bar, it will result in a bar with inline CSS width: 102%


Replies (2)

RE: WMediaPlayer setProgressBar for time progress makes the bar 2% longer - Added by Long Nguyễn Đức about 9 years ago

And if I disable inline CSS in wt_config.xml, it will result in a bar with inline CSS width: 2%

RE: WMediaPlayer setProgressBar for time progress makes the bar 2% longer - Added by Koen Deforche about 9 years ago

Hey,

How exactly do you instantiate your progress bar? Notice the additional explanation at http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WMediaPlayer.html#a1a028fcd874367341be82ee36bd6fe4e which explains that there are some constraints on how to instantiate the progress bar, specifically related to setting its width?

Koen

    (1-2/2)