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

Bug 317568

Summary: ChoiceComposite: Layout is not customizable
Product: [RT] Riena Reporter: Steffen Kriese <steffen.kriese>
Component: UIAssignee: Elias Volanakis <elias>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: christian.campo
Version: unspecified   
Target Milestone: 3.0.0.M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Steffen Kriese CLA 2010-06-22 08:46:58 EDT
The layout of the ChoiceComposite is not customizable to conform to a specific UI-Styleguide. We need the possibility to control the space between the choices and the margin to the borders.
Comment 1 Elias Volanakis CLA 2010-06-24 02:42:24 EDT
If possible, a screenshot with annotations would help...

The request is reasonable. I remember doing similar things for the MasterDetailsComposite:
public void setMargins(final int marginHeight, final int marginWidth)
public void setSpacing(final int hSpacing, final int vSpacing)
Comment 2 Elias Volanakis CLA 2010-07-26 19:36:19 EDT
See widget.setMargins(h, w) and widget.setSpacing(h, v);

Fixed in HEAD.