Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » XWT. May be not accurate handling of element properties
XWT. May be not accurate handling of element properties [message #572534] Thu, 01 April 2010 08:43 Go to next message
Konstantin Scheglov is currently offline Konstantin Scheglov
Messages: 554
Registered: July 2009
Senior Member
This code is incorrect, because "items" property value was set inside of "layoutData", but it still was rendered!
Is this feature or bug?

<Shell xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang">
<Shell.layout>
<RowLayout/>
</Shell.layout>
<List x:style="BORDER">
<List.layoutData>
<RowData width="302" height="233"/>
<List.items>
<j:String>000</j:String>
<j:String>111</j:String>
<j:String>222</j:String>
</List.items>
</List.layoutData>
</List>
</Shell>
--
Konstantin Scheglov,
Instantiations, Inc.


Konstantin Scheglov,
Google, Inc.
Re: XWT. May be not accurate handling of element properties [message #572602 is a reply to message #572534] Fri, 02 April 2010 06:24 Go to previous message
Yves YANG is currently offline Yves YANG
Messages: 687
Registered: July 2009
Senior Member
It is a bug. Please report in bugzilla.

Best regards
Yves YANG
"Konstantin Scheglov" <Konstantin.Scheglov@gmail.com> wrote in message
news:hp24e1$glq$1@build.eclipse.org...
> This code is incorrect, because "items" property value was set inside of
> "layoutData", but it still was rendered!
> Is this feature or bug?
>
> <Shell xmlns="http://www.eclipse.org/xwt/presentation"
> xmlns:x="http://www.eclipse.org/xwt" xmlns:j="clr-namespace:java.lang">
> <Shell.layout>
> <RowLayout/>
> </Shell.layout>
> <List x:style="BORDER">
> <List.layoutData>
> <RowData width="302" height="233"/>
> <List.items>
> <j:String>000</j:String>
> <j:String>111</j:String>
> <j:String>222</j:String>
> </List.items>
> </List.layoutData>
> </List>
> </Shell>
> --
> Konstantin Scheglov,
> Instantiations, Inc.
Previous Topic:Nested XWT
Next Topic:XWT. May be not accurate handling of element properties
Goto Forum:
  


Current Time: Wed Aug 20 12:47:21 EDT 2014

Powered by FUDForum. Page generated in 0.01732 seconds