Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » problem with controls width
problem with controls width [message #1062681] Mon, 10 June 2013 07:14 Go to next message
Eclipse UserFriend
Hello,

I am developing a RCP-RAP-Single-Sourcing-Application. It is a portal with some Applications. Every Application is developed with same technologies (SWT) and layouts (MigLayout). All Applications are Wizards with form-like gui. All Applications look as they should, excepting one and I cannot find the reason.

problem:
Every control has a fix width in px. When I resize the browser window some controls (textfields) lose their width and they get resized to minimal size, according to its content. This resizing of controls occurs only online (RAP) and only in this one application.

Because the controls resizing occurs bei resizing the browser and its no page-reload required and this problem only occurs online, I think it´s a problem from RAPs javascript generation, but i am not sure.

There must be some constellation which is not noticeable as error. I tried several RAP-versions without success.

I am at a loss with this problem. I hope somebody have an Idea, i would be grateful for every hint.

Thanks a lot

[Updated on: Mon, 10 June 2013 07:15] by Moderator

Re: problem with controls width [message #1062718 is a reply to message #1062681] Mon, 10 June 2013 09:25 Go to previous messageGo to next message
Eclipse UserFriend
Hi Andreas,

resizing the browser window will trigger a resize event on the main
shell, which will in turn cause layout managers to re-layout their
content. So you'll have to find out which layout or resize listener
decides to shrink your text fields and why. I'd first try to isolate the
part that contains the affected text fields in a standalone snippet and
try to reproduce the effect.

Regards,
Ralf

--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/t
Re: problem with controls width [message #1063595 is a reply to message #1062718] Thu, 13 June 2013 09:19 Go to previous message
Eclipse UserFriend
Thanks for your reply.

I haven´t understand where the Problem was, but I fixed It.
Previous Topic:Tomcat hangs on shutdown
Next Topic:ControlContribution in a view's menu bar
Goto Forum:
  


Current Time: Wed Jul 23 15:10:24 EDT 2025

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

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

Back to the top