Skip to main content


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 12:43 Go to next message
Konstantin Scheglov is currently offline Konstantin ScheglovFriend
Messages: 555
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 10:24 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
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: Fri Apr 26 09:42:34 GMT 2024

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

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

Back to the top