Minor glitch fixed to Liferay 6.2
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@128956 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3653e08863
commit
a77ee54778
|
@ -8,6 +8,12 @@
|
|||
<dependent-module archiveName="workspace-tree-widget-6.13.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-tree-widget-TRUNK/workspace-tree-widget-TRUNK">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="workspace-application-handler-1.3.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-application-handler-TRUNK/workspace-application-handler-TRUNK">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<dependent-module archiveName="workspace-explorer-1.4.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-explorer/workspace-explorer">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
|
||||
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
|
||||
<property name="context-root" value="workspace"/>
|
||||
|
|
|
@ -59,4 +59,7 @@ public class ConstantsPortlet {
|
|||
public static final int COOKIE_EXPIRE_DAYS = 30;
|
||||
public static final long MILLISECS_PER_DAY = 1000L * 60L * 60L * 24L;
|
||||
|
||||
|
||||
public static final int NORTH_HEIGHT = 70;
|
||||
|
||||
}
|
||||
|
|
|
@ -18,7 +18,6 @@ import com.github.gwtbootstrap.client.ui.constants.Trigger;
|
|||
import com.github.gwtbootstrap.client.ui.event.ClosedEvent;
|
||||
import com.github.gwtbootstrap.client.ui.event.ClosedHandler;
|
||||
import com.google.gwt.core.client.GWT;
|
||||
import com.google.gwt.dom.client.Style.VerticalAlign;
|
||||
import com.google.gwt.event.dom.client.ClickEvent;
|
||||
import com.google.gwt.event.dom.client.ClickHandler;
|
||||
import com.google.gwt.uibinder.client.UiBinder;
|
||||
|
@ -124,8 +123,8 @@ public class WorkspaceFeaturesView extends Composite {
|
|||
hp_feautures.setCellHorizontalAlignment(fp3, HasHorizontalAlignment.ALIGN_RIGHT);
|
||||
hp_feautures.setCellVerticalAlignment(fp3, HasVerticalAlignment.ALIGN_MIDDLE);
|
||||
|
||||
ck_features_show_again.getElement().getStyle().setVerticalAlign(VerticalAlign.MIDDLE);
|
||||
ck_features_show_again.getElement().getFirstChildElement().setId("check_features_donotshowagain");
|
||||
// ck_features_show_again.getElement().getStyle().setVerticalAlign(VerticalAlign.MIDDLE);
|
||||
// ck_features_show_again.getElement().getFirstChildElement().setId("check_features_donotshowagain");
|
||||
|
||||
ck_features_show_again.addStyleName("margin-right-10");
|
||||
shf.addStyleName("margin-right-10");
|
||||
|
|
|
@ -1,6 +1,21 @@
|
|||
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
|
||||
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
|
||||
xmlns:g="urn:import:com.google.gwt.user.client.ui" xmlns:b="urn:import:com.github.gwtbootstrap.client.ui">
|
||||
|
||||
<ui:style>
|
||||
.label-check {
|
||||
display: inline !important;
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
|
||||
.label-check input {
|
||||
margin-right: 2px !important;
|
||||
margin-top: 0px !important;
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
|
||||
</ui:style>
|
||||
|
||||
<g:FlowPanel>
|
||||
<b:Alert close="false" animation="false" ui:field="alert_ws_features">
|
||||
<g:HorizontalPanel ui:field="hp_feautures" width="100%">
|
||||
|
@ -10,7 +25,8 @@
|
|||
</g:HorizontalPanel>
|
||||
</g:FlowPanel>
|
||||
<g:FlowPanel ui:field="fp2">
|
||||
<g:HorizontalPanel ui:field="ws_features" verticalAlignment="middle">
|
||||
<g:HorizontalPanel ui:field="ws_features"
|
||||
verticalAlignment="middle">
|
||||
|
||||
<b:Label ui:field="shf" text="Share"></b:Label>
|
||||
<b:Label ui:field="plk" text="Public Link"></b:Label>
|
||||
|
@ -20,7 +36,7 @@
|
|||
</g:FlowPanel>
|
||||
<g:FlowPanel ui:field="fp3">
|
||||
<b:CheckBox checked="false" text="Don't show this again"
|
||||
ui:field="ck_features_show_again"></b:CheckBox>
|
||||
ui:field="ck_features_show_again" styleName="{style.label-check}"></b:CheckBox>
|
||||
<b:Button ui:field="btn_hide_ws_feautures_panel" text="Hide"></b:Button>
|
||||
</g:FlowPanel>
|
||||
</g:HorizontalPanel>
|
||||
|
|
|
@ -26,6 +26,9 @@ import com.google.gwt.user.client.Random;
|
|||
* Nov 10, 2015
|
||||
*/
|
||||
public class GxtBorderLayoutPanel extends ContentPanel {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private ContentPanel north = new ContentPanel();
|
||||
private ContentPanel west = new ContentPanel();
|
||||
private ContentPanel center = new ContentPanel();
|
||||
|
@ -102,7 +105,7 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
|||
setHeaderVisible(false);
|
||||
// center.add(this.gridFilter);
|
||||
|
||||
BorderLayoutData northData = new BorderLayoutData(LayoutRegion.NORTH, 60, 60, 60);
|
||||
BorderLayoutData northData = new BorderLayoutData(LayoutRegion.NORTH, ConstantsPortlet.NORTH_HEIGHT, ConstantsPortlet.NORTH_HEIGHT, ConstantsPortlet.NORTH_HEIGHT);
|
||||
northData.setCollapsible(true);
|
||||
northData.setSplit(true); //Split bar between regions
|
||||
// northData.setFloatable(true);
|
||||
|
@ -200,7 +203,7 @@ public class GxtBorderLayoutPanel extends ContentPanel {
|
|||
* Update size grid.
|
||||
*/
|
||||
private void updateSizeGrid(){
|
||||
gxtCardLayoutResultPanel.getGridGroupViewContainer().refreshSize((center.getWidth()-5)+"px", (center.getHeight()-75)+"px");
|
||||
gxtCardLayoutResultPanel.getGridGroupViewContainer().refreshSize(center.getWidth()-5+"px", center.getHeight()-75+"px");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue