Probably been done to death on the forum but looking for a little guidance on getting style to work correctly:
Are styles applied to the form in both Web and Smart Client alike?
Apart from setting the Style Class on, say, a label, setting the style Name on the form - and of course having a style defined (that class in that Name) - what else is necessary for that element to display that style?
I ask because I thought I had a number of text color, font and format styles set. They appear in the developer window (i.e. 20pt Tahoma left aligned, red) but do not appear like that in the smart client or the web client. I currently get what looks like 10pt verdana - the alignment and fore color is correct however???
In fact regardless of the style set I seem to get a basic font! In most instances I can bold it but not increase its size!
it should work in both clients
If you have a setup that isnt working you could show here a bit more info what you exact have as css and form components
jcompagner:
it should work in both clients
If you have a setup that isnt working you could show here a bit more info what you exact have as css and form components
Developer design view shows the relevant fonts and font styles (bold etc).
Web Client shows the relevant fonts and font styles
Smart Client (run from the developer) shows a basic 10pt font with no font styles, but does show the correct colours.
Running XPSP2
Servoy 4.1b4
The only solution I have found so far is to set the form properties in design view and in CSS (to ensure the web display is correct). This then shows correctly in design, web and smart views?
Am I missing some setting I need to make to get the CSS to apply in Smart too Johan? If no one else is experiencing this problem then I would assess it to be a local issue for me - but I need some guidance as to where to look?