I think it's not normal, the problem is due by SplitPane, I test it on pivot 2.0 with the same issue.

Le 26/08/2010 13:14, Denis Kononenko a écrit :
hmmm
thanks

--- 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]
    </mc/[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>





--
Olivier Dutrieux
Études et Projets Informatiques (Tél : 31 62)

Reply via email to