You found a bug! We've classified it as EXTGWT-2770 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Ext GWT Premium Member icfantv's Avatar
    Join Date
    Sep 2011
    Location
    Superior, CO
    Posts
    411
    Vote Rating
    21
    icfantv will become famous soon enough icfantv will become famous soon enough

      0  

    Default CheckBox input element is not aligned vertically to its box label.

    CheckBox input element is not aligned vertically to its box label.


    This was introduced in 3.x as 2.x does not have this issue. A CheckBox's input element is not vertically aligned with it's box label. The label appears to be aligned correctly, the actual checkbox input element is not.

    This can be seen in the demo page here (look at the Music field label value): http://www.sencha.com/examples/#Exam...e:formsexample

    Or via some sample code:
    Code:
    public class CheckBoxTest implements EntryPoint
    {
       @Override
       public void onModuleLoad()
       {
          ContentPanel cp = new ContentPanel();
          cp.setPixelSize(500, 500);
          cp.setHeadingText("CheckBox Label Alignment Teset");
     
          CheckBox cb = new CheckBox();
          cb.setBoxLabel("Test CheckBox");
          TextButton tb = new TextButton("A Button!");
     
          ToolBar bar = new ToolBar();
          bar.add(tb);
          bar.add(new SeparatorToolItem());
          bar.add(cb);
     
          VerticalLayoutContainer vlc = new VerticalLayoutContainer();
          vlc.add(bar, new VerticalLayoutContainer.VerticalLayoutData(1, -1));
     
          CenterLayoutContainer clc = new CenterLayoutContainer();
          HTML html = new HTML("<h1>Some HTML!</h1>");
          clc.setWidget(html);
          vlc.add(clc, new VerticalLayoutContainer.VerticalLayoutData(1, 1));
     
          cp.setWidget(vlc);
          RootPanel.get().add(cp);
       }
    }

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,734
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha Premium Member feelinforyou's Avatar
    Join Date
    Dec 2012
    Posts
    98
    Vote Rating
    4
    feelinforyou is on a distinguished road

      0  

    Default


    Any update on this bug? Seems not very difficult to fix!