Too long text on a Label [message #447912] |
Tue, 21 December 2004 20:21 |
Eclipse User |
|
|
|
Originally posted by: ramim.kauhajoki.fi
Hi,
Quick question...
I have a Label-SWT-widget on my Eclipse Editor (own editor). The label is
on a Composite-widget.
Now when I put a long string to that label, the label becames too wide and
it does not fit into the screen anymore.
Is there any way to 'wrap' the text in a Label into multiple rows? or do I
have to generate a new Label for each (let's say) 50 characters?
- noon -
|
|
|
|
Re: Too long text on a Label [message #447956 is a reply to message #447949] |
Wed, 22 December 2004 12:47 |
Eclipse User |
|
|
|
Originally posted by: ramim.kauhajoki.fi
Hi,
Thanks for the tip!!
I guess this Layout is implemented only in Eclipse R3 not in Release 2.x
!!? Atleast I wasn't able to find it from the R2 API.
- noon -
Cloudor Pu wrote:
> Hi,
> You should try with TableWrapLayout.
> See
>
http://dev.eclipse.org/viewcvs/index.cgi/pde-ui-home/working /EclipseForms/EclipseForms.html?rev=1.4
> noon wrote:
>> Hi,
>> Quick question...
>>
>> I have a Label-SWT-widget on my Eclipse Editor (own editor). The label
>> is on a Composite-widget.
>>
>> Now when I put a long string to that label, the label becames too wide
>> and it does not fit into the screen anymore.
>>
>> Is there any way to 'wrap' the text in a Label into multiple rows? or do
>> I have to generate a new Label for each (let's say) 50 characters?
>>
>> - noon -
|
|
|
|
Powered by
FUDForum. Page generated in 0.03811 seconds