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

[REBOL] Re: pre-determining the size of a layout

From: larry::ecotope::com at: 30-Apr-2001 15:15

Hi Graham If you just want the size after letting layout automatically generate the face,
>> lo: layout [box red] >> lo/size
== 140x140 This is the size of the REBOL window only and does not account for the titlebar and outer edges produced by the operating system. On Win98, the total size for this example is 146x165, so the edges are 3 pix wide, and the title bar takes another 19 pixels including the edge at it's bottom. -Larry