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

[REBOL] Text width in VID (Was: Re: Compressing image data (bugs?))

From: henrik::webz::dk at: 6-Dec-2003 7:51

Carl Read wrote:
> Also, if you're dealing with an image created by REBOL, you could use > save/png to create a compressed binary of the image. ie...
That's very clever. Keep the ideas coming! ;-) I'm also toying with size adaptable buttons, which size themselves to the text, so it doesn't wrap, and allow for resizing the main window with the buttons without screwing up the text and for resizing the column in a listview and make sure, text is never obscured. I can't use automatic calculations for the button size, because I need to be able to resize the button from the minimum size of the text width and up. I've come up with making an image of a layout with the text string and then determining its width from image/size/x and it works well. But it seems a little cumbersome, but is (not yet) performance critical for my application. Still, are there easier ways? -- Regards, Henrik Mikael Kristensen