Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 279967 - Need better border support
Summary: Need better border support
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: E4 (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: 260408
  Show dependency tree
 
Reported: 2009-06-11 11:48 EDT by Kevin McGuire CLA
Modified: 2015-05-07 19:28 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin McGuire CLA 2009-06-11 11:48:26 EDT
A common visual attribute to want to set from CSS is borders.  AFAIK, current SWT support is limited to SWT.BORDER as a style bit on create. 

Although Control supports
  int getBorderWidth()

there's no
  void setBorderWidth(int)
  Color getBorderColor()
  void setBorderColor(Color)

Meanwhile, CSS3 defines some very sophisticated borders (http://www.w3.org/TR/2002/WD-css3-border-20021107/).  I'm not suggesting we support all of CSS3 borders, (although that'd be cool), but it's to say that's indicative of current developer expectations.  We should at least consider CSS2 border capabilities like:

Essential:
  border-width
  border-color

Bonus:
  border-style: dotted solid double dashed
Comment 1 Lars Vogel CLA 2015-05-07 19:28:57 EDT
.