Re: [Iup-users] IupMatrixEx -- Related issues
Ola, I hope I'm not overwhelming anyone with too many issues, but another issue related to the IupMatrix is that when I minimize a window like the one shown below, and then I restore it, the IupMatrix will no longer be the same size as before, as if the old calculation for the matrix control was for all the lines being the default size of 8 with 13 rows, but the new calculation will be sized according to the new sizes and still with 13 rows, meaning that the IupControl will sometimes now be larger than the window itself. My release version of this program will not be resizeable, which means the other controls could sometimes become inaccessible. This only happens when minimizing and then restoring. Signed, Andres On 10/28/2022 at 6:31 AM, Andrew Robinson wrote: Here are two files On 10/28/2022 at 4:29 AM, Antonio Scuri wrote: Hi, Thanks for the update. Can you send me that png file? Best, Scuri Em qui., 27 de out. de 2022 às 14:19, Andrew Robinson escreveu: Ola, Update: The problem isn't with IUP, the problem is with iupview.exe. I'm using iupview.exe to convert png to C, which causes the issue, but when I convert png to raw binary and link to that instead, everything works as expected. Not sure what the problem is with iupview.exe but I'm glad the problem isn't with IUP. Signed, Andres PS -- It would be nice if iupview.exe could save image data as raw binary. On 10/25/2022 at 12:36 PM, Andrew Robinson wrote: Ola, My App is "growing up" and one of the things I added was a way to view the molecular structure of the polymer listed. The issue is that any graphic with a width greater than some value between 313 and 343 pixels, will not display properly (see PCTA.1 in attached screenshot). I confirmed this issue by changing the graphic width from 343 to 313 pixels. The wider the graphic, the worse the skew gets. I used iupView.exe to convert all RBG 24-bit color pngs to C text, which I then load into the matrix using IupImageRGB and IupSetAttributeHandle. Is there a limit to this that I didn't see or isn't documented, and is there a workaround? Also, I set RASTERWIDTH for that column to "625" (for an IUP matrix that is "575" wide) and clicking on the white space next to the horizontal scrollbar works until it reaches the middle of the molecular structure column, so that it will butt-up against the right-arrow of the control. Clicking on the right-arrow of the scrollbar restores the scrollbar to working condition so I can continue scrolling to the end of the columns. It seems related to the issue below, hence the reason I linked this issue to that thread. Signed, Andres On 3/16/2022 at 5:56 AM, Andrew Robinson wrote: Ola Antonio, This looks like it might be a layout bug in IupMatrixEx... Everything lines up, right? But then I scroll left one unit and then this happens... ___ 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
Re: [Iup-users] IupMatrixEx -- Related issues
Here are two files On 10/28/2022 at 4:29 AM, Antonio Scuri wrote: Hi, Thanks for the update. Can you send me that png file? Best, Scuri Em qui., 27 de out. de 2022 às 14:19, Andrew Robinson escreveu: Ola, Update: The problem isn't with IUP, the problem is with iupview.exe. I'm using iupview.exe to convert png to C, which causes the issue, but when I convert png to raw binary and link to that instead, everything works as expected. Not sure what the problem is with iupview.exe but I'm glad the problem isn't with IUP. Signed, Andres PS -- It would be nice if iupview.exe could save image data as raw binary. On 10/25/2022 at 12:36 PM, Andrew Robinson wrote: Ola, My App is "growing up" and one of the things I added was a way to view the molecular structure of the polymer listed. The issue is that any graphic with a width greater than some value between 313 and 343 pixels, will not display properly (see PCTA.1 in attached screenshot). I confirmed this issue by changing the graphic width from 343 to 313 pixels. The wider the graphic, the worse the skew gets. I used iupView.exe to convert all RBG 24-bit color pngs to C text, which I then load into the matrix using IupImageRGB and IupSetAttributeHandle. Is there a limit to this that I didn't see or isn't documented, and is there a workaround? Also, I set RASTERWIDTH for that column to "625" (for an IUP matrix that is "575" wide) and clicking on the white space next to the horizontal scrollbar works until it reaches the middle of the molecular structure column, so that it will butt-up against the right-arrow of the control. Clicking on the right-arrow of the scrollbar restores the scrollbar to working condition so I can continue scrolling to the end of the columns. It seems related to the issue below, hence the reason I linked this issue to that thread. Signed, Andres On 3/16/2022 at 5:56 AM, Andrew Robinson wrote: Ola Antonio, This looks like it might be a layout bug in IupMatrixEx... Everything lines up, right? But then I scroll left one unit and then this happens... ___ 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
Re: [Iup-users] IupMatrixEx -- Related issues
Hi, Thanks for the update. Can you send me that png file? Best, Scuri Em qui., 27 de out. de 2022 às 14:19, Andrew Robinson escreveu: > Ola, > > Update: The problem isn't with IUP, the problem is with iupview.exe. I'm > using iupview.exe to convert png to C, which causes the issue, but when I > convert png to raw binary and link to that instead, everything works as > expected. Not sure what the problem is with iupview.exe but I'm glad the > problem isn't with IUP. > > Signed, > Andres > > PS -- It would be nice if iupview.exe could save image data as raw binary. > > On 10/25/2022 at 12:36 PM, Andrew Robinson wrote: > > Ola, > > My App is "growing up" and one of the things I added was a way to view the > molecular structure of the polymer listed. The issue is that any graphic > with a width greater than some value between 313 and 343 pixels, will not > display properly (see PCTA.1 in attached screenshot). I confirmed this > issue by changing the graphic width from 343 to 313 pixels. The wider the > graphic, the worse the skew gets. I used iupView.exe to convert all RBG > 24-bit color pngs to C text, which I then load into the matrix using > IupImageRGB and IupSetAttributeHandle. Is there a limit to this that I > didn't see or isn't documented, and is there a workaround? > > > Also, I set RASTERWIDTH for that column to "625" (for an IUP matrix that > is "575" wide) and clicking on the white space next to the horizontal > scrollbar works until it reaches the middle of the molecular structure > column, so that it will butt-up against the right-arrow of the control. > Clicking on the right-arrow of the scrollbar restores the scrollbar to > working condition so I can continue scrolling to the end of the columns. It > seems related to the issue below, hence the reason I linked this issue to > that thread. > > Signed, > Andres > > On 3/16/2022 at 5:56 AM, Andrew Robinson wrote: > > Ola Antonio, > > This looks like it might be a layout bug in IupMatrixEx... > > > > Everything lines up, right? But then I scroll left one unit and then this > happens... > > > > > ___ > 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
Re: [Iup-users] IupMatrixEx -- Related issues
Ola, Update: The problem isn't with IUP, the problem is with iupview.exe. I'm using iupview.exe to convert png to C, which causes the issue, but when I convert png to raw binary and link to that instead, everything works as expected. Not sure what the problem is with iupview.exe but I'm glad the problem isn't with IUP. Signed, Andres PS -- It would be nice if iupview.exe could save image data as raw binary. On 10/25/2022 at 12:36 PM, Andrew Robinson wrote: Ola, My App is "growing up" and one of the things I added was a way to view the molecular structure of the polymer listed. The issue is that any graphic with a width greater than some value between 313 and 343 pixels, will not display properly (see PCTA.1 in attached screenshot). I confirmed this issue by changing the graphic width from 343 to 313 pixels. The wider the graphic, the worse the skew gets. I used iupView.exe to convert all RBG 24-bit color pngs to C text, which I then load into the matrix using IupImageRGB and IupSetAttributeHandle. Is there a limit to this that I didn't see or isn't documented, and is there a workaround? Also, I set RASTERWIDTH for that column to "625" (for an IUP matrix that is "575" wide) and clicking on the white space next to the horizontal scrollbar works until it reaches the middle of the molecular structure column, so that it will butt-up against the right-arrow of the control. Clicking on the right-arrow of the scrollbar restores the scrollbar to working condition so I can continue scrolling to the end of the columns. It seems related to the issue below, hence the reason I linked this issue to that thread. Signed, Andres On 3/16/2022 at 5:56 AM, Andrew Robinson wrote: Ola Antonio, This looks like it might be a layout bug in IupMatrixEx... Everything lines up, right? But then I scroll left one unit and then this happens... ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users
Re: [Iup-users] IupMatrixEx -- Related issues
Ola, My App is "growing up" and one of the things I added was a way to view the molecular structure of the polymer listed. The issue is that any graphic with a width greater than some value between 313 and 343 pixels, will not display properly (see PCTA.1 in attached screenshot). I confirmed this issue by changing the graphic width from 343 to 313 pixels. The wider the graphic, the worse the skew gets. I used iupView.exe to convert all RBG 24-bit color pngs to C text, which I then load into the matrix using IupImageRGB and IupSetAttributeHandle. Is there a limit to this that I didn't see or isn't documented, and is there a workaround? Also, I set RASTERWIDTH for that column to "625" (for an IUP matrix that is "575" wide) and clicking on the white space next to the horizontal scrollbar works until it reaches the middle of the molecular structure column, so that it will butt-up against the right-arrow of the control. Clicking on the right-arrow of the scrollbar restores the scrollbar to working condition so I can continue scrolling to the end of the columns. It seems related to the issue below, hence the reason I linked this issue to that thread. Signed, Andres On 3/16/2022 at 5:56 AM, Andrew Robinson wrote: Ola Antonio, This looks like it might be a layout bug in IupMatrixEx... Everything lines up, right? But then I scroll left one unit and then this happens... ___ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users