Hi, I am currently struggling with porting applications to Qt. Of course, I am determined to do so. As the table demos say that the syntax *will* change I opted to stick to the isigraph grid and plot implementations. Resizing and positioning of isigraph seems to be a problem when several widgets occur on the screen. The demos work fine as they contain just the single isigraph widet.
Here is what I would expect when resizing the screen: "g0" resizes, A and C do not change in size. WW=: 0 : 0 pc cvb; bin v; cc A static;cn "Text above"; bin h;cc g0 editm;cc B static;cn "Text to the right";bin z; cc C static;cn "Text below"; bin z; ) cvb_close=: 3 : 'wd ''pclose''' test=:cvb_run=: 3 : 0 wd WW wd 'pshow' ) Next comes an example with isigraph: load 'jdgrid jsgrid jtgrid jvgrid jzgrid' WW=: 0 : 0 pc cvb; bin v; cc A static;cn "Text above"; bin h; cc g isigraph flush; cc B static;cn "Text to the right"; bin z; cc C static;cn "Text below"; bin z; ) cvb_close=: 3 : 'wd ''pclose''' test=:cvb_run=: 3 : 0 wd WW wd 'set g minwh 200 100' if. 0~:nc<'g' do. g=:'' conew 'jzgrid' end. PId__g=:'cvb' gridpid=.'cvb' gridloc=.gridid=.'g' celldata=.i.15 12 GRIDOPTS=.'celldata gridpid gridid gridloc ' show__g (;:GRIDOPTS),.".each ;:GRIDOPTS refresh__g'' wd 'pshow' ) Initially, the grid appears in the upper left corner. After resizing the screen just a bit the position seems to be correct but the scrollbars are missing. Making the screen bigger and bigger resizes the static text widgets as well. Even with lots of "bins" around the elements the behavior did not change. My ultimate wish is that the grid resizes but gets no bigger than what is contained in the grid in terms of data. That is, a small table should not get bigger and bigger with empty space added to the right and at the bottom. Any chances?? J 801/Qt:1.0.26/4.8.5 (Windows 7 Enterprise, SP1) Cheers---Christoph ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
