(keitai-l) Re: Creating new DoJa UI Components

From: Sam Joseph <gaijin_at_yha.att.ne.jp>
Date: 09/18/03
Message-ID: <3F699787.100@yha.att.ne.jp>
J. David Beutel wrote:

>On Thu, 18 Sep 2003, Sam Joseph wrote:
>
>  
>
>>Now I have a Label wrapped by a Gauge class that updates itself like this:
>>
>>  [wtkrun] label is now: ......................
>>  [wtkrun] .label is now: I.....................
>>  [wtkrun] .label is now: II....................
>>    
>>
>
>My only concern would be, if it's a proportional font, the width of the 
>label might change. 
>
Right - although I guess we'd get round this my adding a setFont method 
as in Jason's suggestion.

I guess this would be a problem if you didn't the Gauge to exceed the 
screen width, but that should be fairly easy to fix by adding something 
that crops the max length based on screen width and font size.

CHEERS> SAM
Received on Thu Sep 18 14:30:15 2003