Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » problem with controls width
problem with controls width [message #1062681] Mon, 10 June 2013 11:14 Go to next message
Andreas Kulzer is currently offline Andreas KulzerFriend
Messages: 10
Registered: January 2013
Junior Member
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 11:15]

Report message to a moderator

Re: problem with controls width [message #1062718 is a reply to message #1062681] Mon, 10 June 2013 13:25 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

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 13:19 Go to previous message
Andreas Kulzer is currently offline Andreas KulzerFriend
Messages: 10
Registered: January 2013
Junior Member
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 Apr 24 23:46:15 GMT 2024

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

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

Back to the top