Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problem with style - padding
Problem with style - padding [message #135779] Thu, 11 June 2009 06:50 Go to next message
Eclipse UserFriend
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 09:29 Go to previous message
Eclipse UserFriend
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: Fri Jul 04 19:38:06 EDT 2025

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

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

Back to the top