-
2 May 2012 7:08 AM #1
ProgressBar: strange difference between 1% and 99% (especially in IE)
ProgressBar: strange difference between 1% and 99% (especially in IE)
GXT 3.0.0
This code:
run in IE8 gives this result:Code:public class ProgressBarCellExample2 implements EntryPoint, IsWidget { public Widget asWidget() { VerticalLayoutContainer container = new VerticalLayoutContainer(); container.setWidth(500); container.add(new Label("Difference between 1% and 99%"), new VerticalLayoutContainer.VerticalLayoutData(1, -1, new Margins(0, 0, 10, 0))); ProgressBar bar = new ProgressBar(); bar.updateProgress(0.01, "{0}%"); container.add(bar, new VerticalLayoutContainer.VerticalLayoutData(1, -1, new Margins(0, 0, 10, 0))); ProgressBar bar2 = new ProgressBar(); bar2.updateProgress(0.99, "{0}%"); container.add(bar2, new VerticalLayoutContainer.VerticalLayoutData(1, -1, new Margins(0, 0, 10, 0))); SimpleContainer simple = new SimpleContainer(); simple.add(container, new MarginData(20)); return simple; } public void onModuleLoad() { Viewport viewport = new Viewport(); viewport.add(asWidget()); RootPanel.get().add(viewport); } }
scscreenshot120502004ie.png
run in FF 11 gives this result:
scscreenshot120502005ff.png
and run in Chrome 18 gives this result:
scscreenshot120502004ch.png
I expect 1% on the left side of the ProgressBar to be drawn with the same width as on the right side.
-
10 May 2012 11:46 PM #2
I see that yesterday several bug reports got addressed and did get a reaction.
Is this one forgotten somehow?
-
31 Aug 2012 6:26 AM #3
A reaction of Sencha would be appreciated
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote