Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 334341 - [diagram] develop better default look for diagram nodes
Summary: [diagram] develop better default look for diagram nodes
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Shenxue Zhou CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-13 20:59 EST by Konstantin Komissarchik CLA
Modified: 2021-11-19 09:22 EST (History)
1 user (show)

See Also:


Attachments
Address the default node look (9.08 KB, text/plain)
2011-01-26 13:04 EST, Shenxue Zhou CLA
konstantin: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Komissarchik CLA 2011-01-13 20:59:42 EST
The default look for diagram nodes needs to be improved. How about a simple rectangle with rounded corners, maybe bluish background, no header/body separation and the label fully centered on both dimensions? 

Once the new look is completed, I'd like to see the map sample simplified by remove size specification from the node definitions. I think the map sample should be the showcase of the default look.
Comment 1 Shenxue Zhou CLA 2011-01-26 13:04:21 EST
Created attachment 187664 [details]
Address the default node look
Comment 2 Shenxue Zhou CLA 2011-01-26 13:07:36 EST
With the patch, the default node is a rounded corner rectangle with a dark blue border and blue-white gradient background. The text is centered inside the node. The links use the same dark blue color as the node border.

The node has a default size of 100 x 30. If the node doesn't have a size spec in the editor definition language, then the default node size is used.
Comment 3 Konstantin Komissarchik CLA 2011-01-27 03:26:48 EST
Patch not released yet...
Comment 4 Konstantin Komissarchik CLA 2011-01-27 03:31:07 EST
Not bad. Patch released...
Comment 5 Raj Alagumalai CLA 2011-06-01 17:58:59 EDT
verified on 0.3.0.201105261624
Comment 6 Konstantin Komissarchik CLA 2011-06-03 12:27:24 EDT
Closing.