[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: redraw or update

philipp tiedt wrote:

> Hey,
> 
> 1. I have two texts. One is editable to enter text and the other is not
> editable (to describe what to enter). I want to change the none editable
> text while running my plugin. That works. But the new text is longer and
> is now cut of because the editable text hides it. If i resize the window
> both texts resizes and fit.
> I tried to redraw the composites and the texts and so on but that doesnt
> work.
> Does anyone have an idea how i can avoke the resizing ?
> 

You can try to call layout(true) on the composite that contains the Text.

> 2. I couldnt work out how to make a composite scrollable. Any hints ?

Use ScrolledComposite from org.eclipse.swt.custom.

> 
> 3. I use FormSections from the package org.eclipse.updates.forms
> The sections have methods like fireChangeListener and so on...
> Does anyone have an idea how i could use them ?
> 
> thx
> loemming

-- 
Stelian Iancu
Linux registered user 287835

Be different. Think.