Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » labels are not updated(RAP 1.5M3 on windows)
labels are not updated [message #782331] Mon, 23 January 2012 14:52 Go to next message
Mikhail Nefedov is currently offline Mikhail NefedovFriend
Messages: 12
Registered: December 2011
Junior Member
-- I have a number of containers on the screen -- dozens of them.
-- Each container has a bunch of Labels.
-- Containers have GridLayout
-- I update containers by removing all the label widgets from them, and
-- then creating new labels in the container.

Sometimes (*I THINK* in IE9) the labels are created but not visible.
I've never seen this with Chrome.

I am looking for suggestion on how to troubleshoot this issue.

Thank you.
Re: labels are not updated [message #782697 is a reply to message #782331] Tue, 24 January 2012 08:45 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Just a wild guess: do you call layout() on the composite after
re-creating the labels inside? The textsize determination would do this
for you in certain cases, this could explain why it's mostly working
even without a layout...

If this is not the case, could you provide a snippet to reproduce the
problem?

Regards, Ralf


--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: labels are not updated [message #783021 is a reply to message #782697] Tue, 24 January 2012 22:55 Go to previous message
Mikhail Nefedov is currently offline Mikhail NefedovFriend
Messages: 12
Registered: December 2011
Junior Member
Ralf,

I think you may be correct. I don't actually do a layout explicitly. It always happened to work in the desktop version.

I will try adding a layout() after re-creating the labels.

Thank you!
Re: labels are not updated [message #783023 is a reply to message #782697] Tue, 24 January 2012 22:55 Go to previous message
Mikhail Nefedov is currently offline Mikhail NefedovFriend
Messages: 12
Registered: December 2011
Junior Member
Ralf,

I think you may be correct. I don't actually do a layout explicitly. It always happened to work in the desktop version.

I will try adding a layout() after re-creating the labels.

Thank you!
Previous Topic:Open another perspective from already open perspective
Next Topic:Text ModifyLister.modifyText() is called when the text widget is already disposed
Goto Forum:
  


Current Time: Fri Mar 29 12:34:23 GMT 2024

Powered by FUDForum. Page generated in 0.02801 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top