The aim is to resize the cells with the given constraints like  there may
be some cells with set widths or a minimum width setting for all cells and
the number of columns and rows change dynamically. So now whenever the
control is resized the area is distributed in the cells after satisfying
the minimum requirements. If after satisfying the minimum requirements the
cells area is larger than the matrix control area then the scroll bars are
activated and the size adjustments take into account the area lost due to
displaying the scroll bars.

I hope it clarifies it a bit.

On Wed, Jun 17, 2015 at 2:59 PM, Karagy <kar...@mail.ru> wrote:

> Hi.
>
> You want do resize with alive scrollbars?
>
>
> 6/17/2015 10:41, Milind Gupta пишет:
> > Hi,
> >          I have this sample attached. The aim is to resize the matrix
> > columns and cells automatically depending on the weight assigned to the
> > columns whenever the dialog is resized. The sizing algorithm works fine
> > when I trace the steps of the sizes allotted to different columns.
> >          The problem is that after a few resize iterations the iuptab
> size
> > suddenly becomes larger than the dialog clientsize. I am not able to
> > explain that and that causes the automatic resizing of the matrix not to
> > work as intended.
> >          I would really appreciate any help as to why the tabs size
> > increases beyond the dialog client size.
> >
> > Thanks,
> > Milind
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> >
> >
> >
> > _______________________________________________
> > Iup-users mailing list
> > Iup-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to