CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Different CSS after compiling and opening on the Browser

by Lynkin » 16 Jul 2014 13:44

Hello,

I have a CSS activated on my application, when i compile and test it on the browser, a lot of stuff looks different than the visuals at the design time on delphi.

In my main form, i have the following:

"Properties > StyleSheet > URL > ui-themes/smoothness/jquery-ui.css"

Cheers
Lynkin
 
Posts: 26
Joined: 24 Apr 2014 19:53

by Alexander Bulei » 16 Jul 2014 14:06

Hi Lynkin,

What is the design-time theme do you have?

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3637
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Lynkin » 16 Jul 2014 14:26

Smoothness
Lynkin
 
Posts: 26
Joined: 24 Apr 2014 19:53

by Jorge Sousa » 16 Jul 2014 14:34

Hello

Are you using a themeswitcher?

can you reproduce the issue in a test case?

What versions of Intraweb and cgdevtools do you have?

In previous versions of Intraweb 14, the Stylesheet wasnt working (The workaround is call PageContext.AddLinkFile in Form.OnRender).
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Alexander Bulei » 16 Jul 2014 14:35

Hi Lynkin,

a lot of stuff looks different than the visuals at the design time on delphi.


What design-time browser do you use? (CGDevTools -> Options -> Render Options)

Can you provide us some screenshots please?
And be little more clearer.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3637
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Lynkin » 16 Jul 2014 14:40

Ohh, that must be the reason then...

I'm still on IntraWeb 14 and CGDevTools 2.0...
Lynkin
 
Posts: 26
Joined: 24 Apr 2014 19:53

by Lynkin » 16 Jul 2014 14:41

Render Options > CHROMIUM and none of the "options" checked...
Lynkin
 
Posts: 26
Joined: 24 Apr 2014 19:53

by Jorge Sousa » 16 Jul 2014 14:58

Hi

I'm still on IntraWeb 14


What Intraweb version? IWForm.StyleSheet.URL only depends on Intraweb.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Lynkin » 16 Jul 2014 15:00

IntraWeb 14.0.23
Lynkin
 
Posts: 26
Joined: 24 Apr 2014 19:53

by Jorge Sousa » 16 Jul 2014 16:00

If you have IW14.0.23

You definitelly need to

use PageContext.AddLinkFile in Form.OnRender

because IWForm.StyleSheet had that bug,

if you can post the html part that links to jqueryui.css, or inspect in browser, to check if it's a valid url.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to General

Who is online

Users browsing this forum: No registered users and 0 guests

Contact Us.