Be sure your post includes:
1. the SmartGWT or SmartClient version and browser version(s) involved;
GWT 2.0.3
SmartGWT 2.3-2010-12-05
Win XP Pro
Chrome 8.0.552.224
2. for a server-side problem, the complete logs generated during processing of the request;
DNA
3. for a client-side problem, the contents of the Developer Console (see FAQ for usage);
09:15:09.277:INFO:Log:initialized
09:15:09.364:WARN:AutoObserver:Use addInterfaceProperties() to add methods to interface [Class AutoObserver]
09:15:09.452:INFO:Log:isc.Page is loaded
4. if there is a JavaScript error, the stack trace logged in the Developer Console (from Internet Explorer if possible); and
5. sample code.
On this topic:
Progressbar setLength() Doesn't Work
http://forums.smartclient.com/showthread.php?t=9804&highlight=progressbar
1. the SmartGWT or SmartClient version and browser version(s) involved;
GWT 2.0.3
SmartGWT 2.3-2010-12-05
Win XP Pro
Chrome 8.0.552.224
2. for a server-side problem, the complete logs generated during processing of the request;
DNA
3. for a client-side problem, the contents of the Developer Console (see FAQ for usage);
09:15:09.277:INFO:Log:initialized
09:15:09.364:WARN:AutoObserver:Use addInterfaceProperties() to add methods to interface [Class AutoObserver]
09:15:09.452:INFO:Log:isc.Page is loaded
4. if there is a JavaScript error, the stack trace logged in the Developer Console (from Internet Explorer if possible); and
5. sample code.
Code:
public class TestProgressbarHeight implements EntryPoint { /** * The EntryPoint interface */ public void onModuleLoad () { // organize controls horizontally so we can visually check the height final HLayout progressBarLayout = new HLayout (); // add the progress bar final Progressbar progressbar = new Progressbar (); progressbar.setHeight (10); progressbar.setWidth (500); progressbar.setVertical (false); progressBarLayout.addMember (progressbar); // add a button final IButton button = new IButton (); button.setAutoFit (true); button.setTitle ("Hello Progressbar"); button.addClickHandler (new ClickHandler () { public void onClick (final ClickEvent clickEvent) { final int percentDone = progressbar.getPercentDone (); final int nextPercentDone = percentDone <= 90 ? percentDone + 10 : 0; progressbar.setPercentDone (nextPercentDone); } }); progressBarLayout.addMember (button); // display final VLayout layout = new VLayout (); layout.addMember (progressBarLayout); layout.draw (); } }
Progressbar setLength() Doesn't Work
http://forums.smartclient.com/showthread.php?t=9804&highlight=progressbar
Comment