I see that the natural size of the dialog is quite normal. The controls
are not pushing the dialog size. It is the dialog that is sized in a weird
way. Could be some computation that I done to estimate the decorations size
in "iupgtk_dialog.c". But being not deterministic is complicated locate the
real problem. Maybe some warning when compiling "iupgtk_dialog.c"?

Best,
Scuri


On Wed, Jul 22, 2015 at 5:15 PM, Eric Wing <ewmail...@gmail.com> wrote:

> On 7/16/15, Antonio Scuri <sc...@tecgraf.puc-rio.br> wrote:
> >   Hi,
> >
> >   That GLib warning output could be a mix of library versions, don't know
> > for sure. In IUP I don't set any of those properties. I use GtkSettings
> in
> > a 3 places only. Never seen those warnings in Linux.
>
> I found that gvim also triggers these same warnings, so I guess it is
> a library/system problem.
>
> >   About the first problem, the gridbox define its width based on
> > the SIZELIN attribute, that default is 0 (the first line). So if the 4th
> > line is larger than the first, then it could produce results like
> > "initial_new.png". But I don't know about "initial_gen.png". It is hard
> to
> > say without investigating the layout. To help on that the IupLayoutDlg is
> > very usefull. I added a global hot key that activates the IupLayoutDlg
> for
> > the current dialog Ctrl+Alt+Shit+L. But I think this problem is just a
> > matter of fing why the natural size of the dialog is smaller than
> > necessary.
> >
> >   The second problem I have no idea. You are using IupConfigDialogShow
> > right? Maybe as testing you should use just IupShow without trying to
> > restore the previous windows size.
>
>
> I don't know if this helps, but I turned on the LayoutDialog when the
> second problem occurred and stepped through the elements. I made
> screenshots of every one here:
> http://playcontrol.net/tempdownload/iup_screens_pi/TooBig.tar.gz
>
> I was looking for a natural size that looked really wrong, but I
> didn't notice anything myself.
>
> Also, I just tried changing to IupShow from IupConfigDialogShow and I
> managed to trigger the second problem/bug with it once so far. So I'm
> guessing it is not specific to IupConfigDialogShow.
>
> Thanks,
> Eric
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> 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