Results 1 to 7 of 7

Thread: link to an external css stylesheet in Preview?

  1. #1
    Ext User
    Join Date
    Mar 2010
    Posts
    25
    Vote Rating
    0
      0  

    Default link to an external css stylesheet in Preview?

    Is there a way to attach an external stylesheet to the Preview?

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    No, we are looking into how we could possibly include external stylesheets in canvas/preview. Currently this should be done in your actual html implementation file.
    Aaron Conran
    @aconran

  3. #3
    Sencha User mihaip007's Avatar
    Join Date
    Feb 2008
    Location
    Pretoria, South Africa
    Posts
    194
    Vote Rating
    -4
      0  

    Default

    Hi...!

    The trouble is that everytime you export the project, the html file gets overwritten. So you keep having to add the stylesheet into the index file.

    Is there any way one can prevent that?

  4. #4
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
      0  

    Default

    Other than making your index file readonly (chmod 444) after you add your CSS include to it, I would just suggest copying the file to index.html and change/view it there. ?? :-)

  5. #5
    Sencha User mihaip007's Avatar
    Join Date
    Feb 2008
    Location
    Pretoria, South Africa
    Posts
    194
    Vote Rating
    -4
      0  

    Default

    I hear you! Not nice though hehehe!
    Do you think future versions may even have a place to enter the CSS files to be used somewhere in the GUI?

  6. #6
    Sencha - Desktop Packager Dev Team jarrednicholls's Avatar
    Join Date
    Mar 2007
    Location
    Frederick, MD
    Posts
    1,747
    Vote Rating
    7
      0  

    Default

    Perhaps. We are planning for theme designing to be a part of the Designer app in the future, and CSS includes may be a part of the same packaged deal.

    With our next Designer release we'll have a roadmap you can view.

  7. #7
    Sencha User mihaip007's Avatar
    Join Date
    Feb 2008
    Location
    Pretoria, South Africa
    Posts
    194
    Vote Rating
    -4
      0  

    Default

    oh boy ooh boy ohhh boy...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •