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

Bug 361116

Summary: SplashWindow does not support different text colors for status text and version text
Product: z_Archived Reporter: Beat Schwarzentrub <bsh>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ivan.motsch, zimmermann
Version: unspecifiedFlags: zimmermann: juno+
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed Patch ivan.motsch: iplog+

Description Beat Schwarzentrub CLA 2011-10-17 05:58:09 EDT
Build Identifier: Trunk

PROBLEM:
The splash screen does not support different text colors for status text and version text. Also, texts are always left aligned.

To allow more creative and flexible splash screen designs, those properties should be customizable.

PROPOSED SOLUTION:
See attached patch.

Added the following UI properties, which can be customized by setting the UI defaults in the SwingEnvironment:
- Splash.versionColor and Splash.statusTextColor (a java.awt.Color object; if not specified, the value of Splash.text is used)
- Splash.versionAlignment and Splash.statusTextAlignment ("left", "center", "right"; default is left)
- Splash.versionFont and Splash.statusTextFont (a Scout FontSpec string, see org.eclipse.scout.rt.shared.data.basic.FontSpec)


Reproducible: Always
Comment 1 Beat Schwarzentrub CLA 2011-10-17 05:58:59 EDT
Created attachment 205303 [details]
Proposed Patch
Comment 2 Ivan Motsch CLA 2011-11-09 04:35:31 EST
Applied patch as delivered.
Thanks.
Comment 3 Matthias Zimmermann CLA 2012-07-09 06:50:04 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)