Mercurial > dive4elements > river
changeset 79:17815a7354bc
Customized background and ProjectList styles.
flys-client/trunk@1586 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 28 Mar 2011 11:33:09 +0000 |
parents | 9ca5160cf080 |
children | a26489e55730 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/FLYSView.java flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java flys-client/src/main/webapp/FLYS.css |
diffstat | 4 files changed, 22 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Mon Mar 28 10:45:45 2011 +0000 +++ b/flys-client/ChangeLog Mon Mar 28 11:33:09 2011 +0000 @@ -1,3 +1,12 @@ +2011-03-28 Raimund Renkert <rrenkert@intevation.de> + + * src/main/java/de/intevation/flys/client/client/ui/ProjectList.java: + Customized ProjectList style. + * src/main/java/de/intevation/flys/client/client/ui/FLYSView.java: Set + background color and size constraints. + + * src/main/webapp/FLYS.css: Added background style. + 2011-03-28 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ChartOutputTab.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/FLYSView.java Mon Mar 28 10:45:45 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/FLYSView.java Mon Mar 28 11:33:09 2011 +0000 @@ -37,8 +37,11 @@ setWidth("100%"); setHeight("*"); + setStyleName("bgWhite"); setBorder("1px solid #808080"); - setBackgroundColor("#C3D9FF"); + + layout.setHeight("100%"); + layout.setWidth("100%"); addChild(layout); }
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java Mon Mar 28 10:45:45 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java Mon Mar 28 11:33:09 2011 +0000 @@ -7,6 +7,7 @@ import com.smartgwt.client.widgets.grid.ListGrid; import com.smartgwt.client.widgets.grid.ListGridField; import com.smartgwt.client.widgets.layout.VLayout; +import com.smartgwt.client.types.VerticalAlignment; import de.intevation.flys.client.shared.model.Collection; import de.intevation.flys.client.shared.model.CollectionRecord; @@ -91,20 +92,21 @@ setShowResizeBar(true); setShowEdges(false); setLayoutMargin(0); + setLayoutAlign(VerticalAlignment.TOP); Label title = new Label(messages.projects()); title.setHeight("20"); title.setMargin(5); title.setWidth100(); + title.setStyleName("fontLightSmall"); Canvas titleWrapper = new Canvas(); - titleWrapper.setBorder("1px solid #808080"); - titleWrapper.setBackgroundColor("#C3D9FF"); + titleWrapper.setStyleName("bgBlueDark"); titleWrapper.setWidth100(); + titleWrapper.setHeight("20px"); titleWrapper.addChild(title); Canvas gridWrapper = new Canvas(); - gridWrapper.setBorder("1px solid #808080"); gridWrapper.setPadding(0); titleWrapper.setWidth100(); gridWrapper.addChild(grid);