Bug 307980 - Not accurate handling of element properties
Summary: Not accurate handling of element properties
Status: NEW
Alias: None
Product: XWT
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yves YANG CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-02 06:35 EDT by Konstantin Scheglov CLA
Modified: 2013-01-24 15:31 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Scheglov CLA 2010-04-02 06:35:46 EDT
Build Identifier: I20100218

This code is incorrect, because "items" property value was set inside of "layoutData", but it still was rendered!

<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>

Reproducible: Always