|
Re: Problem with style - padding [message #135984 is a reply to message #135779] |
Fri, 12 June 2009 13:29 |
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02909 seconds