What steps will reproduce the problem?
1. Create a Progressbar
2. Invoke progressbar.setHeight (10);
What is the expected output? What do you see instead?
I expect the height of the progressbar to be 10, instead it does not change
from the default, whichever that is.
What version of the product are you using? On what operating system?
GWT 2.0.3
SmartGWT 2.3-2010-12-05
Win XP Pro
What browser(s) does this happen in? Are there any browsers where the
issue does not occur?
Occurs in IE6
Occurs in Chrome 8.0.552.224
Please provide any additional information below.
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
[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 ();
}
}
[/code]
Forum thread:
http://forums.smartclient.com/showthread.php?p=56948#post56948
Original issue reported on code.google.com by shortpa...@gmail.com on 23 Dec 2010 at 12:43
Original issue reported on code.google.com by
shortpa...@gmail.com
on 23 Dec 2010 at 12:43Attachments: