changed button
This commit is contained in:
parent
dc4acc1ba3
commit
eb3ed7a9b0
|
@ -79,7 +79,7 @@ public class GeonaDataViewMainPanel extends Composite {
|
|||
@Override
|
||||
public void onClick(ClickEvent event) {
|
||||
map.removeQueryInteractions();
|
||||
GWT.log("dataBoxSelection.isToggled() " + dataBoxSelection.isActive());
|
||||
GWT.log("dataBoxSelection.isActive() " + dataBoxSelection.isActive());
|
||||
if (!dataBoxSelection.isActive()) {
|
||||
map.addExtentInteraction();
|
||||
}
|
||||
|
|
|
@ -3,16 +3,18 @@
|
|||
xmlns:g="urn:import:com.google.gwt.user.client.ui"
|
||||
xmlns:b="urn:import:com.github.gwtbootstrap.client.ui">
|
||||
<ui:style>
|
||||
|
||||
.margin-right-10{
|
||||
margin-right: 10px;
|
||||
}
|
||||
</ui:style>
|
||||
<g:HTMLPanel ui:field="mainHTMLPanel">
|
||||
<b:TabPanel ui:field="mainTabPanel" tabPosition="top">
|
||||
<b:Tab ui:field="mapTabPanel" active="true" heading="Map">
|
||||
<b:ButtonToolbar>
|
||||
<b:ButtonGroup toggle="checkbox" ui:field="buttonGroup">
|
||||
<b:Button ui:field="dataPointSelection" type="PRIMARY">Data Point
|
||||
<b:Button ui:field="dataPointSelection" type="INFO" addStyleNames="{style.margin-right-10}">Data Point
|
||||
Selection</b:Button>
|
||||
<b:Button ui:field="dataBoxSelection" type="PRIMARY">Data Box
|
||||
<b:Button ui:field="dataBoxSelection" type="INFO">Data Box
|
||||
Selection</b:Button>
|
||||
</b:ButtonGroup>
|
||||
</b:ButtonToolbar>
|
||||
|
|
Loading…
Reference in New Issue