Background For Panels

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

Background For Panels

Postby vampie » Fri Jun 08, 2007 1:23 pm

how can i set backgrounds for panel ( root pane etc.. )
from GWT Designer?

I did not see Background image property...
hardcoded way or CSS way?

example appricated :)
vampie
 
Posts: 89
Joined: Mon Nov 06, 2006 10:18 am

Re: Background For Panels

Postby Eric Clayberg » Sat Jun 09, 2007 11:28 am

vampie wrote:how can i set backgrounds for panel ( root pane etc.. )
from GWT Designer?

You should set the background-image property of the CSS style associated with the panel.

For example...

    .gwt-home-panel {
    ____background-image: url('home.gif');
    }
Image
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


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests