[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:
parent
98b3097607
commit
116d497741
|
@ -1,5 +1,10 @@
|
||||||
<ReleaseNotes>
|
<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">
|
date="2016-11-25">
|
||||||
<Change>Removed ASL Session dependency
|
<Change>Removed ASL Session dependency
|
||||||
</Change>
|
</Change>
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -14,7 +14,7 @@
|
||||||
<groupId>org.gcube.portlets.widgets</groupId>
|
<groupId>org.gcube.portlets.widgets</groupId>
|
||||||
<artifactId>workspace-sharing-widget</artifactId>
|
<artifactId>workspace-sharing-widget</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>1.8.1-SNAPSHOT</version>
|
<version>1.8.2-SNAPSHOT</version>
|
||||||
<name>gCube Workspace Sharing Widget</name>
|
<name>gCube Workspace Sharing Widget</name>
|
||||||
<description>
|
<description>
|
||||||
gCube Workspace Sharing Widget allows users to share gCube Workspace items
|
gCube Workspace Sharing Widget allows users to share gCube Workspace items
|
||||||
|
|
|
@ -107,7 +107,7 @@ public class DialogMultiDragContact extends Dialog{
|
||||||
setButtons(Dialog.OKCANCEL);
|
setButtons(Dialog.OKCANCEL);
|
||||||
|
|
||||||
if(!visibleTextArea)
|
if(!visibleTextArea)
|
||||||
setHeight(HEIGHT_DIALOG-60);
|
setHeight(HEIGHT_DIALOG-MultiDragContact.ALREADY_SHARED_HEIGHT);
|
||||||
|
|
||||||
toolBar = new ToolBar();
|
toolBar = new ToolBar();
|
||||||
Button buttonHelp = new Button();
|
Button buttonHelp = new Button();
|
||||||
|
|
|
@ -58,6 +58,8 @@ public class MultiDragContact extends ContentPanel {
|
||||||
|
|
||||||
public static final int PADDING = 5;
|
public static final int PADDING = 5;
|
||||||
|
|
||||||
|
public static final int ALREADY_SHARED_HEIGHT = 60;
|
||||||
|
|
||||||
private GridDropTarget dropSource;
|
private GridDropTarget dropSource;
|
||||||
private GridDropTarget dropTarget;
|
private GridDropTarget dropTarget;
|
||||||
private ListStore<InfoContactModel> storeSource = new ListStore<InfoContactModel>();
|
private ListStore<InfoContactModel> storeSource = new ListStore<InfoContactModel>();
|
||||||
|
@ -104,11 +106,13 @@ public class MultiDragContact extends ContentPanel {
|
||||||
setGropUserStoreSorter(storeTarget);
|
setGropUserStoreSorter(storeTarget);
|
||||||
|
|
||||||
ContentPanel cpAlreadyShared = new ContentPanel();
|
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.setHeaderVisible(false);
|
||||||
cpAlreadyShared.setVisible(visibleAlreadyShared);
|
cpAlreadyShared.setVisible(visibleAlreadyShared);
|
||||||
|
|
||||||
cpAlreadyShared.setLayout(new FitLayout());
|
cpAlreadyShared.setLayout(new FitLayout());
|
||||||
|
//cpAlreadyShared.setScrollMode(Scroll.AUTOY);
|
||||||
|
|
||||||
VerticalPanel vpShared = new VerticalPanel();
|
VerticalPanel vpShared = new VerticalPanel();
|
||||||
vpShared.setVerticalAlign(VerticalAlignment.MIDDLE);
|
vpShared.setVerticalAlign(VerticalAlignment.MIDDLE);
|
||||||
|
@ -128,7 +132,8 @@ public class MultiDragContact extends ContentPanel {
|
||||||
cpAlreadyShared.add(textAreaAlreadyShared);
|
cpAlreadyShared.add(textAreaAlreadyShared);
|
||||||
|
|
||||||
Label label = new Label("Already shared with");
|
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(label);
|
||||||
hpSharedContacts.add(textAreaAlreadyShared);
|
hpSharedContacts.add(textAreaAlreadyShared);
|
||||||
|
@ -137,7 +142,8 @@ public class MultiDragContact extends ContentPanel {
|
||||||
add(cpAlreadyShared);
|
add(cpAlreadyShared);
|
||||||
|
|
||||||
final ContentPanel cp = new ContentPanel();
|
final ContentPanel cp = new ContentPanel();
|
||||||
cp.setSize(WIDTH_CP, 370);
|
cp.setWidth(WIDTH_CP);
|
||||||
|
cp.setStyleAttribute("height", "373px !important");
|
||||||
cp.setHeaderVisible(false);
|
cp.setHeaderVisible(false);
|
||||||
cp.setLayout(new RowLayout(Orientation.HORIZONTAL));
|
cp.setLayout(new RowLayout(Orientation.HORIZONTAL));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue