pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Kononenko <deniskonone...@yahoo.com>
Subject Re: Why window is small
Date Thu, 26 Aug 2010 11:14:52 GMT
hmmmthanks

--- On Thu, 8/26/10, Chris Bartlett <cbartlett.x@gmail.com> wrote:

From: Chris Bartlett <cbartlett.x@gmail.com>
Subject: Re: Why window is small
To: user@pivot.apache.org
Date: Thursday, August 26, 2010, 3:35 AM

Denis,

I think you need to provide some sort of size information for the Frame.
Try adding something like this to Frame
preferredWidth="600" preferredHeight="480"

    <Frame xmlns:wtkx="http://pivot.apache.org/wtkx" xmlns="org.apache.pivot.wtk"
preferredWidth="600" preferredHeight="480"
		title="Сотрудники">

Regards,

Chris

2010/8/26 Denis Kononenko <deniskononenko@yahoo.com>

WTKX for this window
<Frame xmlns:wtkx="http://pivot.apache.org/wtkx" xmlns="org.apache.pivot.wtk"

		title="Сотрудники">
	<content>
		<Border styles="{padding:2}">
			<content>
				<SplitPane orientation="horizontal" splitRatio="0.25">
					<left>
						<Border styles="{padding:2}">
							<content>
								<ScrollPane>
									<view>
										<ListView listData="['Иванов Денис Владимирович',

											'Ивано Олег Владимирович']"/>

									</view>
								</ScrollPane>
							</content>
						</Border>
					</left>
					<right>
						<Border styles="{padding:2}">
							<content>
								<Form>
									<sections>
										<Form.Section>
											<TextInput Form.label="Фамилия"/>
											<TextInput Form.label="Имя"/>
											<TextInput Form.label="Отчество"/>
										</Form.Section>
										<Form.Section heading="Контактная информация">

											<TextInput Form.label="Дом. телефон"/>

											<TextInput Form.label="Сот. телефон"/>

										</Form.Section>
										<Form.Section heading="Дополнительная информация">

											<TextInput Form.label="Должность"/>
											<TextInput Form.label="Сот. телефон"/>

										</Form.Section>
									</sections>
								</Form>
							</content>
						</Border>
					</right>
				</SplitPane>			
			</content>
		</Border>
	</content>
</Frame>


      




      
Mime
View raw message