On Saturday 04 August 2007 07:02, Uwe Grauer wrote:
> johnf wrote:
> > On Saturday 04 August 2007 00:12, Uwe Grauer wrote:
> >> johnf wrote:
> >>> Hi,
> >>> Use the ClassDesigner to create a form with a multi-column grid (from
> >>> data). When I run it the size of the grid is very small displaying only
> >>> part of the first column.  The grid has scroll bars and will scroll to
> >>> show the other columns/rows.  Does anyone have any suggestions how to
> >>> fix this?
> >>>
> >>> SUSE 10.2, python 2.5, wxPython 2.6
> >>
> >> Can you post the cdxml somewhere?
> >
> > Sorry I should have investigated more last night - I just thought that
> > something had changed with ClassDesigner tools and I had missed it.
> >
> >
> > Anyway the cdxml contains sizerInfo="{}" instead of
> >  sizerInfo="{'Proportion': 1, 'Expand': True}". Expand is checked when I
> > save it.  I'll submit a bug report.
>
> I guessed that it might have to do with the sizer settings.
> That's why i wanted to see what you have done.
> Please close daboide ticket 1027 if it is invalid.
>
> Uwe

It is valid Uwe (unless you are saying you can't repeat).  I'm creating it 
correctly (unless something has changed).  I could not attach the file to my 
ticket but below is the cdxml.  I check that the sizer is expand=true and 
proportion=1 prior to saving - but ClassDesigner is not adding the 
information.

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<dForm code-ID="dForm-top" 
CxnFile="path://pyProject/pyProject/DeanConnection.cnxml" Width="609" 
Top="264" Height="516" Caption="Dabo Class Designer" designerClass="DesForm" 
CxnName="DeanConn" UseSizers="True" Left="722">
        <dSizer SlotCount="2" designerClass="LayoutSizer" 
Orientation="Vertical">
                <dGrid ColumnCount="2" SelectionMode="Cell" 
designerClass="controlMix" 
DataSource="public.agprodcotype" sizerInfo="{}">
                        <dColumn Caption="ccosttype" DataField="ccosttype" 
designerClass="controlMix" Order="0" Width="245"></dColumn>
                        <dColumn Caption="fk_agprodcost" 
DataField="fk_agprodcost" 
designerClass="controlMix" Order="10" Width="245"></dColumn>
                </dGrid>
                <dPanel sizerInfo="{'Expand': True}" 
designerClass="LayoutPanel"></dPanel>
        </dSizer>
</dForm>

-- 
John Fabiani


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to