Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Oct 2008
    Vote Rating
    rretzbach is on a distinguished road


    Default Displacement of Button text arranged in a RowLayout

    Displacement of Button text arranged in a RowLayout

    I have come across some weird rendering issue of Button texts involving RowLayout.

    Description in Text:
    When the application starts all Button texts are displaced and appear on the top of the browser window but with the correct horizontal position. When a user hovers over a single affected button the text is placed correctly on the button and remains there.
    Funny addition: When a user hovers over a Grid column header all displaced button texts are placed correctly.

    Description in Picture:

    Do not use RowData with -1 values

    Example Code:

    import com.extjs.gxt.ui.client.widget.Layout;
    import com.extjs.gxt.ui.client.widget.LayoutContainer;
    import com.extjs.gxt.ui.client.widget.Text;
    import com.extjs.gxt.ui.client.widget.button.Button;
    import com.extjs.gxt.ui.client.widget.layout.AnchorLayout;
    import com.extjs.gxt.ui.client.widget.layout.RowData;
    import com.extjs.gxt.ui.client.widget.layout.RowLayout;
    public class Test implements EntryPoint{
        public void onModuleLoad() {
          // Do not remove the following two lines
          Layout junk = new AnchorLayout();
          LayoutContainer container = new LayoutContainer();
          container.setLayout(new RowLayout());
          LayoutContainer buttonPanel = new LayoutContainer();
          buttonPanel.add(new Button("Press"));
          container.add(new Text()); // add some space above button
          container.add(buttonPanel, new RowData(1, -1));
    Hard facts:
    - GWT version: 2.0.0
    - GXT version: 2.1.1
    - Occurs in Dev mode, not testet in compiled/deployed mode
    - Occurs in IE6, FF 3.5, FF 3.6 (not tested in other browsers)
    - Windows XP Pro SP3 (client and server)
    Last edited by rretzbach; 22 Jul 2010 at 3:05 AM. Reason: Further simplyfied test case

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Vote Rating
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light



    Works fine against 2.1.3 and GXT 2.2 beta 1 for me

Similar Threads

  1. Replies: 6
    Last Post: 12 Aug 2010, 9:40 AM
  2. [FIXED] FormPanel in a non active TabPanel: bad displacement
    By paolocavelli in forum Ext 3.x: Bugs
    Replies: 2
    Last Post: 12 Mar 2010, 10:36 AM
  3. form textfields arranged in a table
    By SunWuKung in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 10 Mar 2009, 10:21 PM
  4. Replies: 0
    Last Post: 8 Nov 2007, 4:53 AM
  5. Button text align: Text under icon-button
    By behlma in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 8 Jun 2007, 9:56 AM

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi