Subversion Repositories eFlore/Archives.cel-v1

Compare Revisions

Ignore whitespace Rev 12 → Rev 13

/trunk/src/org/tela_botanica/client/LeftPanel.java
16,8 → 16,7
package org.tela_botanica.client;
 
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.StackPanel;
 
import org.tela_botanica.client.LocationList;
 
31,7 → 30,6
 
public LeftPanel(Mediator mediator) {
 
HorizontalPanel inner = new HorizontalPanel();
dateList = new DateList(mediator);
locationList = new LocationList(mediator);
38,15 → 36,21
dateList.setStyleName("dateList");
locationList.setStyleName("locationList");
VerticalPanel outer = new VerticalPanel();
 
StackPanel outer = new StackPanel();
outer.add(inner);
outer.add(locationList);
outer.add(dateList);
outer.setCellHeight(inner,"100%");
outer.add(locationList,"Communes");
outer.add(dateList,"Dates");
 
// Create the groups within the stack panel.
outer.add(locationList, "<b>Localit&eacute;s</b>", true);
outer.add(dateList, "<b>Dates</b>", true);
 
outer.showStack(0);
initWidget(outer);
}
 
 
}