Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368861 - ExpandableComposite failed to compute right wrapped client size
Summary: ExpandableComposite failed to compute right wrapped client size
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-17 13:16 EST by Arnaud CLA
Modified: 2020-08-05 12:06 EDT (History)
0 users

See Also:


Attachments
Test case to reproduce issue. (3.67 KB, text/plain)
2012-01-17 13:18 EST, Arnaud CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud CLA 2012-01-17 13:16:47 EST
Build Identifier: 3.6.2 M20110210-1200

I create a wrapped Label as child of a composite, client of ExpandableComposite.
A Shell contains ExpandableComposite, the size of shell is computed as below:
   Point sz = shell.computeSize( 100, SWT.DEFAULT, true );
   sz.y = Math.max( sz.y, 500 );
   shell.setSize( sz );

When shell is displayed, the width is 100, and height is enough to have wrapped label displaying full text.
But, the expandableComposite height (or it's client), is not enough to display label => part of label's text is hidden. 

Reproducible: Always
Comment 1 Arnaud CLA 2012-01-17 13:18:04 EST
Created attachment 209636 [details]
Test case to reproduce issue.
Comment 2 Eclipse Genie CLA 2020-08-05 12:06:19 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.