|
|
|
|
Re: Strange behaviour in widget sizing. [message #78679 is a reply to message #78089] |
Tue, 18 March 2008 11:31  |
Eclipse User |
|
|
|
I was using Trebuchet MS as the font for my widgets, changed it to
Tahoma and all was fine.
Tiago
Tiago wrote:
> Hi Frank,
>
> Thanks for you reply. I've narrowed the problem down to my custom theme.
> There is probably some issue with the font sizes I'm using. I'm going to
> take a deep look and post the results later.
>
> Thanks again.
>
> Tiago
>
> "Frank Appel" <fappel@innoopract.com> wrote in message
> news:fr7v3q$kfh$1@build.eclipse.org...
>> Hi,
>>
>> great - half of my explanations were cut off by sending the answer (grr!).
>>
>> Note that this storage works over session boundaries, to understand how
>> please refer to the link I mentioned in my previous post.
>>
>> The problem with dialogs is that the Dialog size gets calculated to fit
>> its content. So the recalculation of the Dialog's size doesn't take place
>> at the moment, which leads to the clipping of the dialog's content area
>> you've encounter. Note that this doesn't happen very often on a running
>> system (why? - this should be described also in the document the link
>> refers to).
>>
>>
>>
>> Ciao
>>
>> Frank
>>
>> "Frank Appel" <fappel@innoopract.com> schrieb im Newsbeitrag
>> news:00a801c883af$b14f5160$c8078b0a@Abulafila...
>>> Hi,
>>>
>>> I guess this is a problem with textsize determination and dialogs. The
>>> textsize determination can only take place on the client side, so the
>>> first time a text occurs in an application the system have to make an
>>> educated guess. So if your dialog opens the first time the text sizes on
>>> the it are all estimated. RAP automatically calculates the correct sizes
>>> returns them to the server recalculates the layout and update the
>>> client. The sizes of the calculated texts are stored on the server, so
>>> the next time the texts are needed to correct size is available.
>>>
>>>
>>> (see also http://wiki.eclipse.org/WidgetToolkit, Text size calculations)
>>> Ciao
>>> Frank
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Tiago [mailto:tiago.bugzilla@gmail.com]
>>> Bereitgestellt: Dienstag, 11. März 2008 19:38
>>> Bereitgestellt in: eclipse.technology.rap
>>> Unterhaltung: Strange behaviour in widget sizing.
>>> Betreff: Strange behaviour in widget sizing.
>>>
>>>
>>> Hi
>>>
>>> I came across a strange problem in my application. I have a dialog
>>> (jface) with several text boxes and labels inside it (like 3 rows of
>>> text boxes).
>>> The first time I open the dialog the 3rd line text boxes are croped by
>>> half.
>>> I close it and open it again and everything is fine. If I shutdown the
>>> application (equinox) and run it again, it appens again. It's not a
>>> problem with a specific dialog because it happens on the others too.
>>>
>>> This is using Firefox. Also I'm running this application standalone in
>>> equinox (not inside Eclipse).
>>>
>>> I send an attached snapshot with the problem.
>>>
>>> Any ideas?
>>>
>>> Tiago
>>>
>>>
>>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03375 seconds