Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

How to change labelColumnWidth property in Timeline

$
0
0
Smart GWT 4.1

Following philosophy regarding :
http://forums.smartclient.com/showthread.php?t=29095, I tried to change the labelColumnWidth property of TimelineView.
Though ListGrid is not expecting to have an entry point adressing such need, I tried below code with no luck:
Code:

ListGrid timelineView = new ListGrid();
timelineView.setProperty("labelColumnWidth", 150);
this.setAutoChildProperties("timelineView", timelineView);

Also, I tried to go through JNSI with below code, without much success:
Code:

$wnd.isc.TimelineView.changeDefaults("labelColumnWidth",  150);
but it had no effect.

75px width is very narrow and having a way to override it sounds reasonnable to me, doesn't it ?

Viewing all articles
Browse latest Browse all 4756