Re: How to set the font in code and measure text dimensions?

2011-07-28 Thread Philippe Blanc
ats pretty close to what i'd like to > achieve. Could you please give a brief technological overview? (About > how you've implemented it). > > @J.Ganesan, thank you for pointing to gwt-g2d. > > > > On 28 Jul., 14:13, Philippe Blanc wrote: >> Thanks

Re: How to set the font in code and measure text dimensions?

2011-07-28 Thread Philippe Blanc
Thanks for the link. I didn't know about this project. Now the TextMeasurer class only apply for canvas not for pure HTML element correct? On Jul 28, 2011, at 1:37 PM, J.Ganesan wrote: > You can measure the width and height of text using TextMeasurer class > in http://code.google.com/p/gwt-g2d/

Re: How to set the font in code and measure text dimensions?

2011-07-27 Thread Philippe Blanc
Something like that? http://www.visualfox.me/app/bold I plan to open source this in the next few months On Jul 28, 2011, at 3:36 AM, Andrei wrote: > Font size depends on display resolution and display/browser settings > (users can increase or decrease the font size as they like). Also > remember

Re: page background color

2011-07-26 Thread Philippe Blanc
lol! in fact my brain automatically removed the '.' in your response. But that suddenly hit me in Robert's response. On Jul 27, 2011, at 12:37 AM, Jeff Chimene wrote: > On 07/26/2011 03:15 PM, Robert Lockwood wrote: >> I installed FireBug lite in my Chrome browser and inspected the css and >> ht

Re: page background color

2011-07-26 Thread Philippe Blanc
It's without the dot when declared in HTML - the dot in the CSS file mean class On Jul 27, 2011, at 12:15 AM, Robert Lockwood wrote: > I installed FireBug lite in my Chrome browser and inspected the css and html > files which appear to be identical to my project files. > > I edited the to re

Re: Dynamic CSS

2011-07-26 Thread Philippe Blanc
Hello Sam, Ankit method will works great. But you can also manipulate the Style object directly via Element.getStyle().setProperty("backgroundColor", "#FF00FF"); http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/dom/client/Style.html#setProperty%28java.lang.String,%20java.