pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noel Grandin <noelgran...@gmail.com>
Subject Re: Form Label Vertical Alignment
Date Mon, 31 Aug 2009 14:48:24 GMT

Looking at the patch I still have....

Yeah, those were the containers where it made most sense.

The problem I had was figuring out how to get a baseline value out of a
TextArea - any suggestion on where to start?

-- Noel.

Greg Brown wrote:
> I think a few things have changed since you started working on it -
> not sure how it was implemented, but I think you mentioned adding a
> new value to the VerticalAlignment enum. If so, I'd like to suggest a
> different approach - adding a boolean "alignToBaseline" style to
> containers that support it. I think this will be more consistent with
> how baseline alignment is handled in AWT.
>
> Containers that I imagine might want to support this style include:
>
> - FlowPane ("alignToBaseline")
> - Form ("alignLabelsToBaseline")
>
> I don't think it belongs in BoxPane since it would conflict with the
> "verticalAlignment" style.
>
> Are there others?
>
> G
>
>
> On Aug 31, 2009, at 10:36 AM, Noel Grandin wrote:
>
>> Hi
>>
>> Yeah, I started work on doing baseline support, but I didn't get around to finishing
it.
>>
>> I'm surprised it's that noticeable - it's normally only graphic-design people who
spot the mis-alignment, since it's generally only off by 1 or 2 pixels.
>>
>> The relevant issue is 
>>   http://issues.apache.org/jira/browse/PIVOT-99
>> if you want to add yourself to the CC list.
>>
>> I'll see if I can dig the patch out - maybe with some hindsight I can sort out the
nigglies I had then :-)
>>
>> Regards, Noel.
>>
>>
>> On Aug 30, 2009, at 5:43 PM, Scott Lanham wrote:
>>
>> > Hi,
>> >
>> > On my Linux system the text of Form Labels sits higher than the text  
>> > in an
>> > associated TextInput. Does anyone else see this effect on their  
>> > system?
>> >
>> > Cheers,
>> >
>> > Scott.
>>     
>>
>


Mime
View raw message