SashForm [message #454995] |
Wed, 04 May 2005 14:34 |
hortiz Mising name Messages: 96 Registered: July 2009 |
Member |
|
|
Hi,
I'm using a SashForm containing in its upper part a TabFolder.
I have added a MouseListener on this TabFolder to minimize / maximize
associated child of the parent SashForm :
Initially, the TabFolder weight depends on the amount of its content, and
must not exceed 50% of the SashForm height.
If the user double clickes on a TabItem from this TabFolder, it is
minimized so that only the TabItem text is visible.
Now, if the user double clickes again on the TabItem, its original height
is restored.
My problem is that the Label instances within the TabItem are not properly
refreshed, for some of them nothing is visible, for some of them only a
part of them are displayed (i.e. "Na" instead of "Name :").
However, I do not have this problem if I resize my SashForm with the
associated sash.
I've tried to call computeSize() and layout() methods of the SashForm but
the problem remains.
My application runs on both Linux and Mac os.
Thanks for your help,
Helene
|
|
|
Re: SashForm [message #455000 is a reply to message #454995] |
Wed, 04 May 2005 20:44 |
Veronika Irvine Messages: 1272 Registered: July 2009 |
Senior Member |
|
|
Would it be possible to demonstrate the problem with a simple SWT example?
"hortiz" <hortiz@xxxxx.com> wrote in message
news:2fa2bc0004dbe82459dd92563478044b$1@www.eclipse.org...
> Hi,
>
> I'm using a SashForm containing in its upper part a TabFolder.
>
> I have added a MouseListener on this TabFolder to minimize / maximize
> associated child of the parent SashForm :
>
> Initially, the TabFolder weight depends on the amount of its content, and
> must not exceed 50% of the SashForm height.
>
> If the user double clickes on a TabItem from this TabFolder, it is
> minimized so that only the TabItem text is visible.
>
> Now, if the user double clickes again on the TabItem, its original height
> is restored.
>
> My problem is that the Label instances within the TabItem are not properly
> refreshed, for some of them nothing is visible, for some of them only a
> part of them are displayed (i.e. "Na" instead of "Name :").
>
> However, I do not have this problem if I resize my SashForm with the
> associated sash.
>
> I've tried to call computeSize() and layout() methods of the SashForm but
> the problem remains.
>
> My application runs on both Linux and Mac os.
>
> Thanks for your help,
> Helene
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02788 seconds