integrated widget for invitations
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/admin/register-vre-users@115809 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
fda442704c
commit
b38c593113
|
@ -180,9 +180,11 @@ public class VREDeploymentView extends Composite implements Display {
|
|||
@Override
|
||||
public void displayInviteUsersPanel() {
|
||||
VerticalPanel sp = new VerticalPanel();
|
||||
sp.getElement().getStyle().setMarginTop(15, Unit.PX);
|
||||
sp.getElement().getStyle().setMarginTop(10, Unit.PX);
|
||||
sp.getElement().getStyle().setMarginBottom(10, Unit.PX);
|
||||
sp.setSpacing(10);
|
||||
sp.add(new InviteWidget());
|
||||
InviteWidget iw = new InviteWidget();
|
||||
sp.add(iw);
|
||||
mainPanel.setHorizontalAlignment(HasAlignment.ALIGN_CENTER);
|
||||
mainPanel.add(sp);
|
||||
}
|
||||
|
@ -239,7 +241,7 @@ public class VREDeploymentView extends Composite implements Display {
|
|||
int topBorder = workspace.getAbsoluteTop();
|
||||
int leftBorder = workspace.getAbsoluteLeft();
|
||||
int rightScrollBar = 17;
|
||||
int rootHeight = Window.getClientHeight() - topBorder - 50;
|
||||
int rootHeight = Window.getClientHeight() - topBorder - 150;
|
||||
int rootWidth = Window.getClientWidth() - 2*leftBorder - rightScrollBar;
|
||||
tablePanel.setPixelSize(rootWidth+15, rootHeight+30);
|
||||
mainPanel.setPixelSize(rootWidth+15, rootHeight+10);
|
||||
|
|
Loading…
Reference in New Issue