Sorry,
I mean the FITTOTEXT you are already using will set the WIDTH of that
columns, so they will not be expanded by FITTOSIZE. Then you just have to
set FITTOSIZE in the RESIZEMATRX_CB callback.
Best,
Scuri
On Sat, May 23, 2015 at 1:10 PM, Antonio Scuri
wrote:
> Hi,
>
> FITTOSIZE will
Hi,
FITTOSIZE will set the column width, so you just have to set:
grid.setAttribute("FITTOSIZE","COLUMNS")
At the right moment, in the RESIZEMATRIX_CB callback.
Best,
Scuri
On Sat, May 23, 2015 at 11:09 AM, Pavel J. wrote:
> Antonio Scuri gmail.com> writes:
>
> >
> >
> > Hi,
> > Wi
Antonio Scuri gmail.com> writes:
>
>
> Hi,
> Will that dialog to be resized? I mean you will need to do it
dynamically?
> Then, which columns you would like to be expanded along the dialog?
> Best,
> Scuri
Yes, i need it dynamicaly.
Lets say i have 5 columns. Col 1-2 will be sized with
Hi,
Will that dialog to be resized? I mean you will need to do it dynamically?
Then, which columns you would like to be expanded along the dialog?
Best,
Scuri
Em 23/05/2015 08:42, "Pavel J." escreveu:
> Hi,
>
> How can i setup matrix to keep his size same as size of parent dialog?
> I.e.
Hi,
How can i setup matrix to keep his size same as size of parent dialog?
I.e. i need matrix to be resized with dialog.
I doing this (its written in Nim):
import iup, iupcontrols
discard iup.open(nil, nil)
discard controlsOpen()
setGlobal("UTF8MODE", "YES")
var grid = matrix(nil)
grid.setAttr