Revision 5c6b2883 src/gr/ebs/gss/client/FolderPropertiesDialog.java
b/src/gr/ebs/gss/client/FolderPropertiesDialog.java | ||
---|---|---|
43 | 43 |
import com.google.gwt.user.client.DeferredCommand; |
44 | 44 |
import com.google.gwt.user.client.Event.NativePreviewEvent; |
45 | 45 |
import com.google.gwt.user.client.ui.Button; |
46 |
import com.google.gwt.user.client.ui.DecoratedTabPanel; |
|
46 | 47 |
import com.google.gwt.user.client.ui.DialogBox; |
47 | 48 |
import com.google.gwt.user.client.ui.FlexTable; |
48 | 49 |
import com.google.gwt.user.client.ui.HasHorizontalAlignment; |
... | ... | |
104 | 105 |
// Outer contains inner and buttons |
105 | 106 |
VerticalPanel outer = new VerticalPanel(); |
106 | 107 |
// Inner contains generalPanel and permPanel |
107 |
inner = new TabPanel(); |
|
108 |
inner = new DecoratedTabPanel(); |
|
109 |
inner.setAnimationEnabled(true); |
|
108 | 110 |
VerticalPanel generalPanel = new VerticalPanel(); |
109 | 111 |
VerticalPanel permPanel = new VerticalPanel(); |
110 | 112 |
HorizontalPanel buttons = new HorizontalPanel(); |
... | ... | |
171 | 173 |
buttons.add(cancel); |
172 | 174 |
buttons.setCellHorizontalAlignment(cancel, HasHorizontalAlignment.ALIGN_CENTER); |
173 | 175 |
buttons.setSpacing(8); |
174 |
buttons.addStyleName("gwt-TabPanelBottom");
|
|
176 |
buttons.addStyleName("gss-TabPanelBottom");
|
|
175 | 177 |
|
176 | 178 |
Button add = new Button("Add Group", new ClickHandler() { |
177 | 179 |
@Override |
... | ... | |
195 | 197 |
|
196 | 198 |
permButtons.setCellHorizontalAlignment(cancel, HasHorizontalAlignment.ALIGN_CENTER); |
197 | 199 |
permButtons.setSpacing(8); |
198 |
permButtons.addStyleName("gwt-TabPanelBottom");
|
|
200 |
permButtons.addStyleName("gss-TabPanelBottom");
|
|
199 | 201 |
|
200 | 202 |
generalPanel.add(generalTable); |
201 | 203 |
permPanel.add(permList); |
... | ... | |
203 | 205 |
outer.add(inner); |
204 | 206 |
outer.add(buttons); |
205 | 207 |
outer.setCellHorizontalAlignment(buttons, HasHorizontalAlignment.ALIGN_CENTER); |
206 |
outer.addStyleName("gwt-TabPanelBottom");
|
|
208 |
outer.addStyleName("gss-TabPanelBottom");
|
|
207 | 209 |
|
208 | 210 |
setWidget(outer); |
209 | 211 |
|
Also available in: Unified diff