Window actions margin in the dialog #PL-2960

This commit is contained in:
Yuriy Artamonov 2013-10-25 13:33:41 +00:00
parent 319077df78
commit 765669aac4
2 changed files with 2 additions and 4 deletions

View File

@ -23,6 +23,7 @@ import com.vaadin.event.ShortcutListener;
import com.vaadin.server.Page; import com.vaadin.server.Page;
import com.vaadin.server.Sizeable; import com.vaadin.server.Sizeable;
import com.vaadin.shared.ui.BorderStyle; import com.vaadin.shared.ui.BorderStyle;
import com.vaadin.shared.ui.MarginInfo;
import com.vaadin.shared.ui.label.ContentMode; import com.vaadin.shared.ui.label.ContentMode;
import com.vaadin.ui.Button; import com.vaadin.ui.Button;
import com.vaadin.ui.Component; import com.vaadin.ui.Component;
@ -511,6 +512,7 @@ public class WebWindowManager extends WindowManager {
outerLayout.setStyleName("cuba-app-dialog-window"); outerLayout.setStyleName("cuba-app-dialog-window");
outerLayout.addComponent(layout); outerLayout.addComponent(layout);
outerLayout.setExpandRatio(layout, 1); outerLayout.setExpandRatio(layout, 1);
outerLayout.setMargin(new MarginInfo(true, false, false, false));
win.setContent(outerLayout); win.setContent(outerLayout);

View File

@ -83,10 +83,6 @@
border: 1px solid $theme_windowBorderColor; border: 1px solid $theme_windowBorderColor;
} }
.#{$primaryStyleName}-contents > .v-scrollable {
margin-top: 5px;
}
.#{$primaryStyleName}-footer { .#{$primaryStyleName}-footer {
height: 10px; height: 10px;
background: transparent; background: transparent;