Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] layout/size bug - possibly Amiga-only

From: carl:cybercraft at: 14-Aug-2001 22:15

I've found that a layout's size is calculated differently after the first time its window is resized by a user. (At least on my Amiga.) Try... view/options a: layout[button "Size" [print a/size]][resize] When I click on the Size button before resizing the window created by the above code I get a size of 140x64. However, if I resize it by just a pixel or two and then look at the size again, it's bumped up to more than 160x80. Before resizing it's obviously getting the size without the window borders, while after resizing they're included. All very annoying! Anyone else had this problem, and is there a work-around? -- Carl Read