[Task 3236] Done stylesheet fix

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-sharing-widget@144229 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2017-02-24 09:00:52 +00:00
parent 98b3097607
commit 116d497741
4 changed files with 55 additions and 44 deletions

View File

@ -1,5 +1,10 @@
<ReleaseNotes>
<Changeset component="portlets-widgets.workspace-sharing-widget.1-8-0"
<Changeset component="portlets-widgets.workspace-sharing-widget.1-8-2"
date="2017-02-24">
<Change>[Task 3236] Done stylesheet fix
</Change>
</Changeset>
<Changeset component="portlets-widgets.workspace-sharing-widget.1-8-1"
date="2016-11-25">
<Change>Removed ASL Session dependency
</Change>

View File

@ -14,7 +14,7 @@
<groupId>org.gcube.portlets.widgets</groupId>
<artifactId>workspace-sharing-widget</artifactId>
<packaging>jar</packaging>
<version>1.8.1-SNAPSHOT</version>
<version>1.8.2-SNAPSHOT</version>
<name>gCube Workspace Sharing Widget</name>
<description>
gCube Workspace Sharing Widget allows users to share gCube Workspace items

View File

@ -107,7 +107,7 @@ public class DialogMultiDragContact extends Dialog{
setButtons(Dialog.OKCANCEL);
if(!visibleTextArea)
setHeight(HEIGHT_DIALOG-60);
setHeight(HEIGHT_DIALOG-MultiDragContact.ALREADY_SHARED_HEIGHT);
toolBar = new ToolBar();
Button buttonHelp = new Button();

View File

@ -58,6 +58,8 @@ public class MultiDragContact extends ContentPanel {
public static final int PADDING = 5;
public static final int ALREADY_SHARED_HEIGHT = 60;
private GridDropTarget dropSource;
private GridDropTarget dropTarget;
private ListStore<InfoContactModel> storeSource = new ListStore<InfoContactModel>();
@ -104,11 +106,13 @@ public class MultiDragContact extends ContentPanel {
setGropUserStoreSorter(storeTarget);
ContentPanel cpAlreadyShared = new ContentPanel();
cpAlreadyShared.setSize(WIDTH_CP, 60);
cpAlreadyShared.setWidth(WIDTH_CP);
cpAlreadyShared.setStyleAttribute("height", ALREADY_SHARED_HEIGHT+"px important!");
cpAlreadyShared.setHeaderVisible(false);
cpAlreadyShared.setVisible(visibleAlreadyShared);
cpAlreadyShared.setLayout(new FitLayout());
//cpAlreadyShared.setScrollMode(Scroll.AUTOY);
VerticalPanel vpShared = new VerticalPanel();
vpShared.setVerticalAlign(VerticalAlignment.MIDDLE);
@ -128,7 +132,8 @@ public class MultiDragContact extends ContentPanel {
cpAlreadyShared.add(textAreaAlreadyShared);
Label label = new Label("Already shared with");
label.setStyleAttribute("padding-right", "10px");
label.setStyleAttribute("padding-right", "5px");
label.setStyleAttribute("font-size", "13px !important");
hpSharedContacts.add(label);
hpSharedContacts.add(textAreaAlreadyShared);
@ -137,7 +142,8 @@ public class MultiDragContact extends ContentPanel {
add(cpAlreadyShared);
final ContentPanel cp = new ContentPanel();
cp.setSize(WIDTH_CP, 370);
cp.setWidth(WIDTH_CP);
cp.setStyleAttribute("height", "373px !important");
cp.setHeaderVisible(false);
cp.setLayout(new RowLayout(Orientation.HORIZONTAL));