comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/FLYSHeader.java @ 9786:b5af33e5ce1e 3.2.x

Change header background and update logo
author Tom Gottfried <tom@intevation.de>
date Fri, 28 Apr 2023 12:37:06 +0200
parents 5e38e2924c07
children
comparison
equal deleted inserted replaced
9785:672cfb850229 9786:b5af33e5ce1e
163 163
164 public void init() { 164 public void init() {
165 setStyleName("header"); 165 setStyleName("header");
166 setWidth100(); 166 setWidth100();
167 setHeight(HEIGHT); 167 setHeight(HEIGHT);
168 setBackgroundColor("#a9c9e6"); 168 setBackgroundColor("#ffffff");
169 setLayoutLeftMargin(5); 169 setLayoutLeftMargin(5);
170 setLayoutRightMargin(5); 170 setLayoutRightMargin(5);
171 171
172 String baseUrl = GWT.getHostPageBaseURL(); 172 String baseUrl = GWT.getHostPageBaseURL();
173 173
176 50, 176 50,
177 IMG_HEIGHT); 177 IMG_HEIGHT);
178 178
179 Img bfg = new Img( 179 Img bfg = new Img(
180 baseUrl + MESSAGES.bfgLogoSmall(), 180 baseUrl + MESSAGES.bfgLogoSmall(),
181 150, 181 98,
182 IMG_HEIGHT); 182 IMG_HEIGHT);
183 183
184 Label fullname = new Label(MESSAGES.fullname()); 184 Label fullname = new Label(MESSAGES.fullname());
185 fullname.setHeight(HEIGHT - IMG_HEIGHT); 185 fullname.setHeight(HEIGHT - IMG_HEIGHT);
186 fullname.setStyleName("fontBlackMid"); 186 fullname.setStyleName("fontBlackMid");

http://dive4elements.wald.intevation.org