| Summary: | SWT.WRAP missing in Button JavaDoc | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Ralf Sternberg <rsternberg> |
| Component: | SWT | Assignee: | Felipe Heidrich <eclipse.felipe> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | trivial | ||
| Priority: | P3 | CC: | eclipse.felipe, max |
| Version: | 3.7 | ||
| Target Milestone: | 3.8 M1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Ralf Sternberg
fixed (SWT.java and Button.java) in HEAD Just for completion: We had serious troubles getting a group of radiobuttons to wrap propperly, although we tried every sort of layout. The solution was to set SWT.WRAP as a style for the parent composite (group), too. Maybe the SWT.WRAP style should be added accordingly to the Composite API? (In reply to comment #2) > Just for completion: > > We had serious troubles getting a group of radiobuttons to wrap propperly, > although we tried every sort of layout. > > The solution was to set SWT.WRAP as a style for the parent composite (group), > too. > > Maybe the SWT.WRAP style should be added accordingly to the Composite API? SWT.WRAP is not suppose to be set on a Composite. Not sure what you have but it is certainly an accident if it fixed your problem. Note that SWT.WRAP has the same value as SWT.SHADOW_ETCHED_OUT which is defined for group. |