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

[REBOL] jumpy window (bug?)

From: peoyli::algonet::se at: 12-Apr-2001 13:02

Hi, I noticed this when trying to create a layout which 'remembers' the window position on a rebuild . Version: (/View 1.0 Amiga) [ REBOL [ Title: {/View jumping window bug ?} Purpose: {Minimal example which should put up a window in the same position after a rebuild of the layout. Problem is that, if the window is moved in between rebuilds, the window will move to the right/down as many pixels that the size of the window border is} ] win-offset: 100x100 build-layout: func [ {Build layout for application} ][ main: layout/offset [ space 4x2 across button "Rebuild" [ win-offset: main/offset build-layout view/title main "Bug?" ] ] win-offset ] build-layout view/title main "Bug?" ] /PeO -- /* PeO - AMiGA owner since 1990, CGI, Perl, Assembly language & HTML-fanatic *\ \* Amiga 4000TE/060-50/604e 200, 146Mb, 33.4Gb, ZIP, JAZ, CVPPC/8 */ /* IIyama VM Pro 21", CP-SW2 Subwoofer system, NEC-222 *\ \* Plextor 12-Plex, Yamaha CRW 4416S, Artec A6000C+, Stylus Color 500 */ /* Lightfax 3660, Catweazel Z-II (3*IDE, 1*PC Floppy), Minolta DImage V *\ \* SCSI-Tower, Seagate Tapestor 4/8GB, Ariadne Ethernet, Minolta PagePro 6 */