Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2018-04-10 Thread Eric Wing
On 4/9/18, Antonio Scuri wrote: > Hi, > > I may have solve the problem. At least at the system I was testing were > the problem is reproduced using that sample it was solved. > > It is on SVN. But it is actually very simple in iupgtk_dialog.c: > > #define iupABS(_x)

Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2018-04-09 Thread sur-behoffski
On 04/10/18 02:40, Antonio Scuri wrote: Hi, I may have solve the problem. At least at the system I was testing were the problem is reproduced using that sample it was solved. It is on SVN. But it is actually very simple in iupgtk_dialog.c: #define iupABS(_x) ((_x)<0? -(_x): (_x)) [...]

Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2018-04-09 Thread John Spikowski
Great! I have been chasing that 'chost' for ages. Thanks Antonio for your amazing efforts with IUP and the community it has built. On Mon, 2018-04-09 at 14:10 -0300, Antonio Scuri wrote: >  Hi, > >  I may have solve the problem. At least at the system I was testing > were the problem is

Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2018-04-09 Thread Antonio Scuri
Hi, I may have solve the problem. At least at the system I was testing were the problem is reproduced using that sample it was solved. It is on SVN. But it is actually very simple in iupgtk_dialog.c: #define iupABS(_x) ((_x)<0? -(_x): (_x)) static void gtkDialogGetWindowDecor(Ihandle* ih,

Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2018-04-04 Thread Antonio Scuri
At least, for a small difference at the bottom of the dialog I could reproduce it here. It is not always, but much easier to reproduce. I'll let you know the results. Best, Scuri Em qua, 4 de abr de 2018 00:43, Eric Wing escreveu: > Here's a different sample program

Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2018-04-03 Thread Eric Wing
Here's a different sample program that can trigger the bug (simplified from a real program that is having problems.) No images this time, but only labels. Though there is a IupFill() and MINSIZE that seems to be needed to trigger the problem. Ihandle* label_description = IupLabel("Hello

Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2018-04-02 Thread Chris Matzenbach via Iup-users
Hi, For what it is worth, I have installed Arch linux on three separate machines in the past month, and on each one I have encountered this error. On some setups I had just gtk2 installed prior to this error, and on others I had both gtk2 and 3 installed. Testing it on my laptop running Arch

Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2018-04-01 Thread Chris Matzenbach via Iup-users
Hi, For what it is worth, I have installed Arch linux on three separate machines in the past month, and on each one I have encountered this error. On some setups I had just gtk2 installed prior to this error, and on others I had both gtk2 and 3 installed. Testing it on my laptop running Arch

Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2018-03-29 Thread Antonio Scuri
Notice that by setting IupSetAttribute(the_dialog, "SIZE", "HALFxHALF"); You will not be able to reduce the dialog content size from its initial size. This could be confusing you too. After SHOW set IupSetAttribute(the_dialog, "SIZE", NULL); To clear that limitation. Best, Scuri

Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2018-03-14 Thread Eric Wing
On 3/14/18, Antonio Scuri wrote: > Tested on the following configurations: > > CentOS 6.8 (x86) Linux26g4c6 (GTK 2.24) > Debian 8.3 (x86) Linux316 (GTK 3.14) > Oracle Solaris 11 (x86) SunOS511x86 (GK 2.20) > Ubuntu 10.10 (x86) Linux26g4 (GK 2.22) > Ubuntu 12.04 (x86)

Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2018-03-13 Thread Antonio Scuri
I just saw your video. I have no idea. I will try to reproduce the problem here. Best, Scuri 2018-03-12 20:29 GMT-03:00 Eric Wing : > Hello, I'm bumping this old thread because it is still a problem. > > To refresh your memory, there is some bug with IUP GTK backends

Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2018-03-12 Thread Eric Wing
Hello, I'm bumping this old thread because it is still a problem. To refresh your memory, there is some bug with IUP GTK backends where *sometimes* the sizing for a layout in a dialog is incorrect. It happens *sometimes*, so while I can reproduce it, it is hard to reproduce at will. When I launch

Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2015-07-22 Thread Eric Wing
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

Re: [Iup-users] Problems with layout (sometimes too small, then too big)

2015-07-22 Thread Eric Wing
On 7/22/15, Antonio Scuri sc...@tecgraf.puc-rio.br wrote: 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