SEBSERV-219
This commit is contained in:
parent
eb45dcf0f3
commit
43ca2f6ba9
2 changed files with 10 additions and 5 deletions
|
@ -162,13 +162,15 @@ public class DefaultPageLayout implements TemplateComposer {
|
|||
|
||||
private void composeLogoBar(final PageContext pageContext) {
|
||||
final Composite logoBar = new Composite(pageContext.getParent(), SWT.NONE);
|
||||
final GridData logoBarCell = new GridData(SWT.FILL, SWT.TOP, false, false);
|
||||
final GridData logoBarCell = new GridData(SWT.FILL, SWT.TOP, true, false);
|
||||
logoBarCell.minimumHeight = 80;
|
||||
logoBarCell.heightHint = 80;
|
||||
logoBarCell.horizontalIndent = 0;
|
||||
logoBar.setLayoutData(logoBarCell);
|
||||
logoBar.setData(RWT.CUSTOM_VARIANT, "logo");
|
||||
final GridLayout logoBarLayout = new GridLayout(2, false);
|
||||
final GridLayout logoBarLayout = new GridLayout(2, true);
|
||||
logoBarLayout.horizontalSpacing = 0;
|
||||
logoBarLayout.verticalSpacing = 0;
|
||||
logoBarLayout.marginHeight = 0;
|
||||
logoBar.setLayout(logoBarLayout);
|
||||
|
||||
|
@ -177,7 +179,7 @@ public class DefaultPageLayout implements TemplateComposer {
|
|||
logoCell.minimumHeight = LOGO_IMAGE_MAX_HEIGHT;
|
||||
logoCell.heightHint = LOGO_IMAGE_MAX_HEIGHT;
|
||||
logoCell.minimumWidth = LOGO_IMAGE_MAX_WIDTH;
|
||||
logoCell.horizontalIndent = 50;
|
||||
logoCell.horizontalIndent = 0;
|
||||
logo.setLayoutData(logoCell);
|
||||
|
||||
// try to get institutional logo first. If no success, use default logo
|
||||
|
@ -204,8 +206,8 @@ public class DefaultPageLayout implements TemplateComposer {
|
|||
contentBackground.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
|
||||
contentBackground.setData(RWT.CUSTOM_VARIANT, "bgContent");
|
||||
final GridLayout innerGrid = new GridLayout();
|
||||
innerGrid.marginLeft = 50;
|
||||
innerGrid.marginRight = 50;
|
||||
innerGrid.marginLeft = 55;
|
||||
innerGrid.marginRight = 55;
|
||||
innerGrid.marginHeight = 0;
|
||||
innerGrid.marginWidth = 0;
|
||||
|
||||
|
|
|
@ -157,6 +157,7 @@ Composite.header {
|
|||
|
||||
Composite.logo {
|
||||
background-color: #1F407A;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
Composite.bgLogo {
|
||||
|
@ -164,12 +165,14 @@ Composite.bgLogo {
|
|||
background-image: url(static/images/sebserver-logo.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: left center;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
Composite.bgLogoNoImage {
|
||||
background-color: transparent;
|
||||
background-repeat: no-repeat;
|
||||
background-position: left center;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
Composite.bgContent {
|
||||
|
|
Loading…
Add table
Reference in a new issue