hmmmthanks

--- On Thu, 8/26/10, Chris Bartlett <[email protected]> wrote:

From: Chris Bartlett <[email protected]>
Subject: Re: Why window is small
To: [email protected]
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 <[email protected]>

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>


      




      

Reply via email to