Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359225

Summary: logo position in header panel
Product: z_Archived Reporter: Jonas Mendler <jonas.mendler>
Component: ScoutAssignee: Daniel Wiehl <daniel.wiehl>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel.wiehl, zimmermann
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Jonas Mendler CLA 2011-09-28 08:59:47 EDT
Build Identifier: 

The logo in header panel is always positioned in center position.
Instead, that should be configurable. Supported values would be:
horizontal position: center, east
vertical position: top, center, bottom

Reproducible: Always

Steps to Reproduce:
1. create a logo
Comment 1 Daniel Wiehl CLA 2011-09-28 09:03:02 EDT
28.09.2011 dwi
Bugzilla ticket #359225
Problem:
The logo in header panel is always positioned in center position.
Instead, that should be configurable. Supported values would be:
horizontal position: center, east
vertical position: top, center, bottom
Solution:
Logo alignment can be controlled by setting according UI defaults in ISwingEnvironment#interceptUIDefaults(UIDefaults defaults).
Supported values for horizontal alignment are:
0=center, 1=right
Supported values for vertical alignment are:
-1=top, 0=center, 1=bottom
By default, the logo is aligned as follows: horizontal=center, vertical=top
Plug-Ins changed:
- org.eclipse.scout.rt.ui.swing [SwingScoutToolBar.class, UIDefaultsInjector.class]
Migration:
None
Comment 2 Matthias Zimmermann CLA 2011-10-11 03:01:50 EDT
shipped with 3.7.1