Hybrid View

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Nov 2011
    Location
    Belgium
    Posts
    5
    Vote Rating
    0
    joostb is on a distinguished road

      0  

    Default [CLOSED] Undesired top/left margin around viewport with borderlayoutcontainer

    [CLOSED] Undesired top/left margin around viewport with borderlayoutcontainer


    I used the following code snippet and I cannot get rid of the unwanted margin on the left and top of the viewport

    Code:
    public class MySampleApplication implements EntryPoint, IsWidget  {
    
        public void onModuleLoad() {
            Viewport viewport = new Viewport();
            viewport.setWidget(this);
            RootPanel.get().add(viewport);
        }
    
    
        public Widget asWidget() {
    
    
               final BorderLayoutContainer con = new BorderLayoutContainer();
               con.setBorders(true);
               con.setLayoutData(new MarginData(0, 0, 0, 0));
    
    
               return con;
           }
    }
    it shows up as (tried it in chrome and ie9) :
    marginissue.jpg
    Am I overlooking something here?

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    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

      0  

    Default


    This looks like you are not loading the reset.css file.

  3. #3
    Ext GWT Premium Member
    Join Date
    Nov 2011
    Location
    Belgium
    Posts
    5
    Vote Rating
    0
    joostb is on a distinguished road

      0  

    Default


    Thanks Sven for responding (on a sunday )
    You were right, the path to my 'reset.css' had a typo, all is fine now

  4. #4
    Sencha User
    Join Date
    Apr 2013
    Posts
    27
    Vote Rating
    0
    kozla13 is on a distinguished road

      0  

    Default


    how did you solved this =

  5. #5
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,639
    Vote Rating
    80
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    Kolza13, as Sven said (and joosb verified) this is almost always caused by forgetting to add a reference to reset.css. Verify that you've followed all of the steps in the GXT setup instructions, and that there are no errors in the browser's console when loading the app.

  6. #6
    Sencha User
    Join Date
    Apr 2013
    Posts
    27
    Vote Rating
    0
    kozla13 is on a distinguished road

      0  

    Default


    Quote Originally Posted by Colin Alworth View Post
    Kolza13, as Sven said (and joosb verified) this is almost always caused by forgetting to add a reference to reset.css. Verify that you've followed all of the steps in the GXT setup instructions, and that there are no errors in the browser's console when loading the app.
    the are no errors, the css file is loaded

    Capture.jpg

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar