Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext GWT Premium Member
    Join Date
    Dec 2011
    Location
    Earth
    Posts
    243
    Vote Rating
    1
    nbuesing is on a distinguished road

      0  

    Default FieldSet in Viewport (bottom/right margins different than left/top, even though same)

    FieldSet in Viewport (bottom/right margins different than left/top, even though same)


    GXT 3.0.3-SNAPSHOT 11/27 (but existed in 3.0.2 as well)
    GWT 2.4.0
    Windows 7 - 64 bit
    Internet Explorer 8
    Chrome 25

    I had a FieldSet as the child of the ViewPort, and the margins used for top and left are different than the margins for bottom and right. The same behavior exists for ContentPanel, and the issue seems to happen in both IE8 and Chrome.

    I would expect the margins to be the same all away around. If I didn't give margins, I wouldn't be able to see the bottom or right border at all.

    Code:
    Viewport viewport = new Viewport();
    /* have to use a margin to be able to see the right and bottom borders, and margins are not uniform*/
    viewport.add(asWidget(), new MarginData(20);
    RootPanel.get().add(viewport);

    ViewPortFieldSetMargins.zip
    Attached Images
    Last edited by nbuesing; 4 Dec 2012 at 10:13 AM. Reason: trying to fix attachments, forum messed up content.

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,717
    Vote Rating
    87
    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


    Missing right border is indicative of missing reset.css on the html page - can you confirm that this is present?

  3. #3
    Ext GWT Premium Member
    Join Date
    Dec 2011
    Location
    Earth
    Posts
    243
    Vote Rating
    1
    nbuesing is on a distinguished road

      0  

    Default


    Well, it was missing from my test code, but adding it made no difference.

    1. Added link to example project (see code below)
    2. verified that reset.css was accessible by url by putting URL in browser and making sure it returned itI also brought up the IE8 Developer tools and verified the CSS for reset.css was listed.

    So, while it was missing, I'm still seeing the error. I am wondering if I have something else missing in my configuration, thanks for the information.



    Code:
    <!doctype html>
    <!-- The DOCTYPE declaration above will set the     -->
    <!-- browser's rendering engine into                -->
    <!-- "Standards Mode". Replacing this declaration   -->
    <!-- with a "Quirks Mode" doctype is not supported. -->
    
    <html>
      <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
        <!--                                                               -->
        <!-- Consider inlining CSS to reduce the number of requested files -->
        <!--                                                               -->
        <link type="text/css" rel="stylesheet" href="Examples.css">
        <link type="text/css" rel="stylesheet" href="examples/reset.css" />
    
        <!--                                           -->
        <!-- Any title is fine                         -->
        <!--                                           -->
        <title>Web Application Starter Project</title>
        
        <!--                                           -->
        <!-- This script loads your compiled module.   -->
        <!-- If you add any GWT meta tags, they must   -->
        <!-- be added before this line.                -->
        <!--                                           -->
        <script type="text/javascript" language="javascript" src="examples/examples.nocache.js"></script>
      </head>
    
      <body>
    
        <!-- OPTIONAL: include this if you want history support -->
        <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
        
        <!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
        <noscript>
          <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
            Your web browser must have JavaScript enabled
            in order for this application to display correctly.
          </div>
        </noscript>
    
      </body>
    </html>

  4. #4
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,717
    Vote Rating
    87
    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 verifying - it looks good otherwise, but the test isn't breaking when i confirm locally. Here is my full entrypoint - I removed the asWidget() method, and added a missing close parenthesis:
    Code:
    public class Test implements EntryPoint {
    
    
      public void onModuleLoad() {
        Viewport viewport = new Viewport();
        /* have to use a margin to be able to see the right and bottom borders, and margins are not uniform*/
        FieldSet fs = new FieldSet();
        fs.setHeadingText("field set");
        
        viewport.add(fs, new MarginData(20));
        RootPanel.get().add(viewport);
      }
    }
    Html file:
    Code:
    <!doctype html>
    <html>
      <head>
        <title>Sencha GXT Tests</title>
        <link rel="stylesheet" type="text/css" href="test/reset.css" />
      </head>
      <body>
        <script language='javascript' src='test/test.nocache.js'></script>
      </body>
    </html>
    and Module file:
    Code:
    <module rename-to='test'>
        <inherits name='com.sencha.gxt.ui.GXT' />
    
         <entry-point class='com.sencha.gxt.examples.test.client.Test' />
    </module>
    My goal in posting this is to minimize any possible confusion on other things which could contaminate the page.

    In this screenshot I also have the version window to verify that I am testing IE8. You can see that I am running dev mode as well.
    screenshot9.png
    Also running in prod mode:
    screenshot10.png
    I did not test with 3.0.2, this is just 3.0.3-snapshot.
    Last edited by Colin Alworth; 4 Dec 2012 at 11:31 AM. Reason: xml formatting

  5. #5
    Ext GWT Premium Member
    Join Date
    Dec 2011
    Location
    Earth
    Posts
    243
    Vote Rating
    1
    nbuesing is on a distinguished road

      0  

    Default


    So, based on the fact it worked for you, I started to simplify my environment as well.

    Right now it seems to be related to the following in our gwt.xml file

    <inherits name='com.google.gwt.user.theme.clean.Clean' />

    What really adds to the confusion is in in dev mode making removing this and refreshing browser doesn't "stick". But when I refreshed the second time, it did. So taking me awhile to figure out what change is actually making the change.

  6. #6
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,717
    Vote Rating
    87
    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 reporting back - this is a useful diagnostic step that I will be aware of in the future.

    From reviewing the clean.css that GWT's Clean theme adds to the page (see /com/google/gwt/user/theme/clean/public/gwt/clean/clean.css in gwt-user.jar), it appears they are re-resetting the defaults of each element on the page to their own base theme. This is very likely to break *any* css that doesnt' explicitly provide styles for each and every possible attribute for every possible element listed. We use our own reset.css as a way of 'starting over' consistently in all browsers, and make additional changes based on that.

    I suspect this is the specific css segment that is causing the bug in your case:
    Code:
    body {  color: black;
      margin: 10px;
      border: 0px;
      padding: 0px;
      background: #fff;
      direction: ltr;
    }
    If you must use the Clean theme in your application (GXT requires none of the GWT themes, and as far as I know, most of the newer GWT widgets don't even require it, but use the better behaving CssResources instead), this margin will need to be reduced back to 0px. One possible CSS snippet that will effect this change:
    Code:
    body {
      margin: 0px !important;
    }
    If you don't use the styles declared in the GWT theme modules, simply remove them from your module file.

Thread Participants: 1