pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mustafa Motiwala <mustafa.motiw...@gmail.com>
Subject Re: Problem using wtk.content.NumericSpinnerData
Date Tue, 25 Dec 2012 16:59:57 GMT
I have actually been seeing this very same behavior with the Spinner
control. Since I am currently in the prototyping phase for the UI I didn't
pay much attention and just changed it to regular text box for now.
The version of Pivot I am using is 2.0.1.
--mustafa.


On Sun, Dec 23, 2012 at 7:42 AM, Jason Murray <icecreamguy39@gmail.com>wrote:

> When trying to use NumericSpinnerData exactly as the tutorial for
> spinners says to, I get the text
> "org.apache.pivot.wtk.NumericSpinnerData@<location>", instead of the
> range of numbers I specified.
>
> It seems like there's probably something really obvious I'm missing
> here, but I've looked over the tutorial many times and can't seem to
> find anything wrong with my code.
>
> Here is what I am trying to implement:
>
> <FillPane orientation="horizontal"
>         xmlns="org.apache.pivot.wtk"
>         xmlns:content="org.apache.pivot.wtk.content"
>         xmlns:bxml="http://pivot.apache.org/bxml">
>         <CalendarButton />
>         <FillPane orientation="horizontal">
>                 <Spinner circular="true" selectedIndex="0">
>                         <content:NumericSpinnerData lowerBound="0"
> upperBound="23" increment="1" />
>                 </Spinner>
>                 <Spinner circular="true" selectedIndex="00">
>                         <content:NumericSpinnerData lowerBound="0"
> upperBound="59" increment="1" />
>                 </Spinner>
>                 <Spinner circular="true" selectedIndex="00">
>                         <content:NumericSpinnerData lowerBound="0"
> upperBound="59" increment="1" />
>                 </Spinner>
>         </FillPane>
> </FillPane>
>
> --Jason
>

Mime
View raw message