On Wed, Jul 2, 2008 at 3:19 PM, johnf <[EMAIL PROTECTED]> wrote:
> On Wednesday 02 July 2008 01:48:06 pm Nate Lowrie wrote:
>> On Wed, Jul 2, 2008 at 2:09 PM, johnf <[EMAIL PROTECTED]> wrote:
>> > On Wednesday 02 July 2008 12:00:12 pm Nate Lowrie wrote:
>> >> A case where you would use the Alignment property in the label itself:
>> >> You have 9 fields and want to divide them into 2 dBorderSizer for the
>> >> sake of looks, but you want the labels from each Sizer to line up with
>> >> each other
>> >
>> > I'm not sure what you mean here.  Could provide another explanation?  Or
>> > a different example.
>>
>> Here's what your dialog looks like before:
>> http://img.photobucket.com/albums/v663/Solodex/Dabo/Before.png
>>
>> You want the dTextBoxes to line up to make them look pretty, so you
>> set the width of the top label in the first gridSizer to match the
>> width of the longer label on the bottom.  You now get this image:
>>
>> http://img.photobucket.com/albums/v663/Solodex/Dabo/After.png
>>
>> In order to get the top label right aligned you need to set the
>> Label's alignment property to Right.  I would have a picture of this
>> too but the alignment property doesn't show in the CD for dLabels.
>>
>> That help?
>>
>> Nate L.
>
> I think this should be on the wiki.  Only one question how did you set the
> width of the first label to the width of the largest label?  IOW how do I
> know what that width would be without using the width paramater?

Just set the labels Width property.


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to