Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problem with style - padding
Problem with style - padding [message #135779] Thu, 11 June 2009 10:50 Go to next message
NkD Missing name is currently offline NkD Missing nameFriend
Messages: 61
Registered: July 2009
Member
In Rap1.2.rc4 I have style:

....
Text {
border: 1px solid rgb( 192, 192, 192 );
background-color: rgb( 255, 255, 244 );
color: rgb( 0, 0, 0 );
padding: 1px 2px 1px 2px;
spacing: 0px;
}
.....

I have master View with table and Detail view with many Text components.
If I selecting items of table, detail change content data (only text
content). Texts on detail sometime pulsating. Sometime Texts have
padding 0px on height sometime is correctly 1px. When explicit resize
View detail then all Texts change to correctly size and padding.

I use GridLayout and GridData (without specify width, height)
Re: Problem with style - padding [message #135984 is a reply to message #135779] Fri, 12 June 2009 13:29 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Michal NkD Nikodím wrote:
> In Rap1.2.rc4 I have style:
>
> ...
> Text {
> border: 1px solid rgb( 192, 192, 192 );
> background-color: rgb( 255, 255, 244 );
> color: rgb( 0, 0, 0 );
> padding: 1px 2px 1px 2px;
> spacing: 0px;
> }
> ....
>
> I have master View with table and Detail view with many Text components.
> If I selecting items of table, detail change content data (only text
> content). Texts on detail sometime pulsating. Sometime Texts have
> padding 0px on height sometime is correctly 1px. When explicit resize
> View detail then all Texts change to correctly size and padding.
>
> I use GridLayout and GridData (without specify width, height)

maybe you need to explicitly call layout() on the Composite that
contains the text fields when the content changes?

Ralf
Previous Topic:Problem with shell close
Next Topic:RAP RC4 hangs up
Goto Forum:
  


Current Time: Sat Dec 04 05:54:22 GMT 2021

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

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

Back to the top