Discussion:
Column width
(too old to reply)
Simon K
2004-11-30 14:26:12 UTC
Permalink
Hi
I am having great difficulties getting my columnsize in my playlist
right from the start. I don't want the column header to be visible, so
it needs to be set right onload.
But I really can't get it right.
Below I have provided som code. Is it possible for you to see whats wrong?

Best regards / Simon K


the PLAYLIST ELEMENT in the .wms

<PLAYLIST
dropDownToolTip=""
id = "pl"
top = "158"
left = "30"
width = "245"
height = "340"
backgroundcolor = "#FFFFFF"
dropDownVisible = "false"
foregroundcolor = "#666666"
itemPlayingBackgroundColor="#FFFFFF"
itemPlayingColor="#000000"
columns="name=Name"
columnsVisible = "true"
/>



from my init script in the .js

pl.setColumnResizeMode(0, "Fixed");
pl.setColumnWidth(0, '240');
Simon K
2004-12-13 17:39:05 UTC
Permalink
I got this sorted out. Kind off: I changed the PLAYLIST element to
ITEMSPLAYLIST and deleted the anyway unsuccessfull dropDownToolTip="" - And
now it works!
Post by Simon K
Hi
I am having great difficulties getting my columnsize in my playlist
right from the start. I don't want the column header to be visible, so
it needs to be set right onload.
But I really can't get it right.
Below I have provided som code. Is it possible for you to see whats wrong?
Best regards / Simon K
the PLAYLIST ELEMENT in the .wms
<PLAYLIST
dropDownToolTip=""
id = "pl"
top = "158"
left = "30"
width = "245"
height = "340"
backgroundcolor = "#FFFFFF"
dropDownVisible = "false"
foregroundcolor = "#666666"
itemPlayingBackgroundColor="#FFFFFF"
itemPlayingColor="#000000"
columns="name=Name"
columnsVisible = "true"
/>
from my init script in the .js
pl.setColumnResizeMode(0, "Fixed");
pl.setColumnWidth(0, '240');
Loading...