_why,

Shoes.app do
  @list_box = list_box :items => ['English', 'Metric'],
    :choose => 'Metric'
end

is not work well for me, Windows XP and Shoes-0.r970.
It doesn't open (show) the list of items. :(

But, add :height => 7 then it works well.

Shoes.app do
  @list_box = list_box :items => ['English', 'Metric'],
    :choose => 'Metric', :height => 7
end

The number over 7 is okay, but under 6 is not work.
A bit confusing. xx-P

Regards,
ashbb



On Sat, Sep 20, 2008 at 7:22 AM, _why <[EMAIL PROTECTED]> wrote:

> On Thu, Sep 18, 2008 at 05:49:33PM -0700, Joshua Choi wrote:
> >
> >        Shoes.app do
> >                @list_box = list_box :items => ['English', 'Metric']
> >                @list_box.choose 'Metric'
> >        end
> >
> > ...should result in the program starting with list_box set at Metric.
> > It doesn't work, though.
>
> Very good!  Thankyou for finding this.  I am committing a change to
> this now.  In the meantime, use:
>
>  @list_box = list_box :items => ['English', 'Metric'],
>     :choose => 'Metric'
>
> _why
>

Reply via email to