Thanks!

Works also on MacOSX.

But how does it work? Is there a method to get the width of an String?


gunni


Zitat von Satoshi Asakawa <[EMAIL PROTECTED]>:

Hi,

BTW is there an other way to center a banner or so,
somthing like
banner 'I am in the middle', :align => :center ?

Yeah, you are almost right. ;-)

Shoes.app do
  banner 'I am in the middle', :align => 'center'
end

It works well on my Window box with Shoes-0.r970

ashbb



On Wed, Sep 17, 2008 at 8:09 PM, Gunther Diemant <
[EMAIL PROTECTED]> wrote:

Hi all,
is there a possibility to get the width of a para without actually drawing
it?

I mean somthing like
get_textblock_width('Some String', textblock)

This would be quit handy for drawing lines in a table or for centering the
output.

BTW is there an other way to center a banner or so, somthing like
banner 'I am in the middle', :align => :center ?

Greetings
gunni






Reply via email to