Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361116 - SplashWindow does not support different text colors for status text and version text
Summary: SplashWindow does not support different text colors for status text and versi...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-17 05:58 EDT by Beat Schwarzentrub CLA
Modified: 2021-08-19 11:32 EDT (History)
2 users (show)

See Also:
zimmermann: juno+


Attachments
Proposed Patch (7.27 KB, application/octet-stream)
2011-10-17 05:58 EDT, Beat Schwarzentrub CLA
ivan.motsch: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
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)