why my font-size does not change font size?

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

why my font-size does not change font size?

Postby csilva2001 » Thu Oct 23, 2008 7:23 am

Hi. I use the css code for change font for my grid:
.Mgrid-line {
background-color: red;
cursor: pointer;
cursor: hand;
font-family: Monotype Corsiva;
font-size: 8pt;
}

but font does not change size and font family does not change for Monotype. Where is my error? I use GWT Designer version 5.1.0.200810140752 for Eclipse 3.4.
Somebody can help me?
Thanks
csilva2001
 
Posts: 6
Joined: Thu Oct 23, 2008 5:57 am

Re: why my font-size does not change font size?

Postby Eric Clayberg » Thu Oct 23, 2008 9:16 am

See this earlier thread...

viewtopic.php?f=11&t=2247
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: why my font-size does not change font size?

Postby csilva2001 » Fri Oct 24, 2008 6:09 pm

Hi. I did. The GWT_Test worked very well. I changed my GWT gwt-windows-1.5.2 version to gwt-windows-1.5.3 version as showed in sample. But in my application, the font does not size. I did update for GWT Designer 200810241233 version but my font does cange the size. Can help me?
Thanks
csilva2001
 
Posts: 6
Joined: Thu Oct 23, 2008 5:57 am

Re: why my font-size does not change font size?

Postby csilva2001 » Sat Oct 25, 2008 6:04 pm

Can you help me?
csilva2001
 
Posts: 6
Joined: Thu Oct 23, 2008 5:57 am

Re: why my font-size does not change font size?

Postby Eric Clayberg » Sat Oct 25, 2008 6:27 pm

Try it with the very latest GWT Designer build and create a new GWT project.

We slightly altered the way CSS files are referenced so you should be able to override the GWT defaults.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: why my font-size does not change font size?

Postby Konstantin.Scheglov » Sun Oct 26, 2008 6:13 am

Here is how it looks.
Attachments
Screenshot - 25.10.2008 , 12_23_16.png
GWT module and design canvas
Screenshot - 25.10.2008 , 12_23_16.png (72.71 KiB) Viewed 1430 times
Konstantin.Scheglov
Moderator
 
Posts: 186
Joined: Tue Oct 18, 2005 8:11 pm
Location: Russian Federation, Lipetsk

Re: why my font-size does not change font size?

Postby csilva2001 » Sun Oct 26, 2008 5:08 pm

I'm using GWT Designer version 200810241233. But the font size does not change.
I must give up?

Thanks
csilva2001
 
Posts: 6
Joined: Thu Oct 23, 2008 5:57 am

Re: why my font-size does not change font size?

Postby csilva2001 » Sun Oct 26, 2008 5:14 pm

If I try change size and family font for Label, it´s OK. Work very well.
I want work in GRID:

myGrid.getRowFormatter().setStyleName(1, "tabelaLiberados-linha");
myGrid.getRowFormatter().setStylePrimaryName(1, "tabelaLiberados-linha");

.tabelaLiberados-linha {
background-color: blue;
cursor: pointer;
font-family: Monotype Corsiva;
font-size: 4pt;
}

The font changes. The cursor and background-color changes. But font-family and font-size does not change.

Thanks
csilva2001
 
Posts: 6
Joined: Thu Oct 23, 2008 5:57 am

Re: why my font-size does not change font size?

Postby Konstantin.Scheglov » Mon Oct 27, 2008 9:36 am

csilva2001 wrote:I'm using GWT Designer version 200810241233. But the font size does not change.
I must give up?


Change in Module.gwt.xml template was made 20081025, so you need to download very latest build and try with it.
Note, that this change is only for new GWT modules.
For existing modules you should do same thing manually - include stylesheet in module gwt.xml instead of HTML.
See screenshot above.
Konstantin.Scheglov
Moderator
 
Posts: 186
Joined: Tue Oct 18, 2005 8:11 pm
Location: Russian Federation, Lipetsk


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 2 guests