Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » UI expands after changing the Language
UI expands after changing the Language [message #1404618] Mon, 04 August 2014 13:58 Go to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Rappers,

I have an RAP application, which has 2 views (HomeView and ItemView). Both the views have a fixed size, so that the UI always fit inside the screen.

The HomeView has language setting, where I can choose between English and Swedish (NLS Strings). Then I can view the ItemView in the Selected Language.

When I switch from English to Swedish for the first time and the ItemView is loaded, the view gets expanded and does not fit into the screen. This problem is solved when I change the language again back to English and load the ItemView.

Only once, the same problem won't appear again even if I switch between the languages and load the ItemView.

Same kind of problem appears when i invoke pack() method on any UI element in the Views.

How can I get rid of these problems?


[Updated on: Mon, 04 August 2014 14:02]

Report message to a moderator

Re: UI expands after changing the Language [message #1404699 is a reply to message #1404618] Tue, 05 August 2014 07:15 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2334
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
it sounds like a text-size determination problem - view is resized to
+1000 with the new texts, but does not shrink back. Could you create a
simple test project to demonstrate the issue?

Ivan Furnadjiev

Twitter: @EclipseRAP

Professional services for RAP and RCP?
Previous Topic:HOWTO: Installing Luna and RAP (e4!!!!!!!!!!)
Next Topic:RAP 2.3 and eclipse e4 single-sourced RCP (soft migrated)
Goto Forum:

Current Time: Sat Feb 22 07:58:26 GMT 2020

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

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

Back to the top