Home » Eclipse Projects » Remote Application Platform (RAP) » ToolItem text not visible on first login, adjust after refresh or second login to applicatoin.(widget not displayed correctly)
ToolItem text not visible on first login, adjust after refresh or second login to applicatoin. [message #869878] |
Fri, 04 May 2012 11:48  |
Eclipse User |
|
|
|
I think this may be a know limitation of determining sizes for widgets, but I'm not sure.
1) We have a perspective Toolbar which shows when we login to application.
When we launch application, and login for the first time, the ToolItem is displayed, but is cutting off text. (see attached image: ToolItem-CutsOffText.png)If you see the page load, you can see it shows the correct text, and the resizes the ToolItem, cutting off text.
If you refresh the page, or logout of the application, and log back in, the ToolItem is displayed properly. (see attached image: ToolItem-ShowsCorrectText.png).
Is there a way around this behavior? Can I layout() the Toolbar or pack() the items after load? I have tried that unsuccessfully.
2) On a more general note, I see widgets move around occassionally when text is change in them, or when localization causes widgets to have to grow. Are there any suggestions to limit the jittering of objects, and best practices for handling resizing of objects? I try to solve these issues by layout() and pack() of the containers, but possibly there is a better practice.
|
|
|
Re: ToolItem text not visible on first login, adjust after refresh or second login to applicatoin. [message #870326 is a reply to message #869878] |
Mon, 07 May 2012 12:13   |
Eclipse User |
|
|
|
Hi George,
the ToolItem issue is probably related to the text size determination in
the first run. Could you open a bugzilla with a snippet to reproduce it?
Thanks,
Ivan
On 5/4/2012 6:48 PM, George R Malary wrote:
> I think this may be a know limitation of determining sizes for widgets, but I'm not sure.
>
> 1) We have a perspective Toolbar which shows when we login to application.
>
> When we launch application, and login for the first time, the ToolItem is displayed, but is cutting off text. (see attached image: ToolItem-CutsOffText.png)If you see the page load, you can see it shows the correct text, and the resizes the ToolItem, cutting off text.
>
> If you refresh the page, or logout of the application, and log back in, the ToolItem is displayed properly. (see attached image: ToolItem-ShowsCorrectText.png).
>
> Is there a way around this behavior? Can I layout() the Toolbar or pack() the items after load? I have tried that unsuccessfully.
>
> 2) On a more general note, I see widgets move around occassionally when text is change in them, or when localization causes widgets to have to grow. Are there any suggestions to limit the jittering of objects, and best practices for handling resizing of objects? I try to solve these issues by layout() and pack() of the containers, but possibly there is a better practice.
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
| | |
Goto Forum:
Current Time: Tue Jun 24 10:20:49 EDT 2025
Powered by FUDForum. Page generated in 0.06211 seconds
|