Hybrid View

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium Member
    Join Date
    Oct 2011
    Posts
    139
    Vote Rating
    4
    jvahabzadeh is on a distinguished road

      0  

    Default reset.css missing?

    reset.css missing?


    I have downloaded gxt-3.0.0-dp5.zip and unzipped it.

    My project name is SenchaExperiments.

    I have followed the instructions in the setup.txt file, and in following step 2b, added the following as the first .css reference in SenchaExperiments.html:

    <link rel="stylesheet" type="text/css" href="SenchaExperiments/css/reset.css" />

    However, while my bits of code to learn GXT seem to work, I keep getting an error message in the console:

    [WARN] No file found for: /SenchaExperiments/css/reset.css

    Where is the css/reset.css file? I didn't see any file with the name "reset.css" and so assumed this was some sort of built in thing that GXT would interpret correctly.

    Was this missing from the DP5 download?

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    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


    Try to remove the css folder of the href. The folder is not correct.

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2011
    Posts
    139
    Vote Rating
    4
    jvahabzadeh is on a distinguished road

      0  

    Default


    Thanks! That fixed it.

    The following line then in the setup.txt should probably be changed to indicate this. It curently reads:

    <link rel="stylesheet" type="text/css" href="{module name}/css/reset.css" />

  4. #4
    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, I just corrected setup.txt in SVN.

  5. #5
    Sencha User
    Join Date
    Oct 2009
    Posts
    14
    Vote Rating
    0
    kospiotr is on a distinguished road

      0  

    Default


    Wouldn't it be easier to add:
    Code:
    <stylesheet src="reset.css"/>
    in module descriptor?

  6. #6
    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


    We experimented with this, but I believe the eventual conclusion was that it should load earlier, or it will reset other existing css loaded by the html page.