Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Setting the Alignment of Labels
Setting the Alignment of Labels [message #129324] Sat, 29 July 2006 22:07 Go to next message
Eclipse UserFriend
Originally posted by: hal.thresholddigital.com

I'm sure this is an easy one, but I just can't find it.

How can I set the alignment of labels in the VE without having to manually
add:

myJLabel.setAlignmentX(SwingConstants.RIGHT);

I can find a lot for changing the panel layout, but nothing for alignment of
text within components.

Thanks for any help -- and any suggestions for good books/tutorials on the
VE.

Hal
Re: Setting the Alignment of Labels [message #129622 is a reply to message #129324] Mon, 07 August 2006 14:23 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The property sheet should have it, but it is an expert property not
normally shown. You need to select the "Show Advanced" button on the
property sheet's toolbar.

Hal Vaughan wrote:
> I'm sure this is an easy one, but I just can't find it.
>
> How can I set the alignment of labels in the VE without having to manually
> add:
>
> myJLabel.setAlignmentX(SwingConstants.RIGHT);
>
> I can find a lot for changing the panel layout, but nothing for alignment of
> text within components.
>
> Thanks for any help -- and any suggestions for good books/tutorials on the
> VE.
>
> Hal
>
>

--
Thanks,
Rich Kulp
Re: Setting the Alignment of Labels [message #613710 is a reply to message #129324] Mon, 07 August 2006 14:23 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The property sheet should have it, but it is an expert property not
normally shown. You need to select the "Show Advanced" button on the
property sheet's toolbar.

Hal Vaughan wrote:
> I'm sure this is an easy one, but I just can't find it.
>
> How can I set the alignment of labels in the VE without having to manually
> add:
>
> myJLabel.setAlignmentX(SwingConstants.RIGHT);
>
> I can find a lot for changing the panel layout, but nothing for alignment of
> text within components.
>
> Thanks for any help -- and any suggestions for good books/tutorials on the
> VE.
>
> Hal
>
>

--
Thanks,
Rich Kulp
Previous Topic:Customize generated code and shell in SWT Designer
Next Topic:Create SWT Widget in Containment Handler of parent Composite
Goto Forum:
  


Current Time: Tue Sep 24 12:49:01 GMT 2024

Powered by FUDForum. Page generated in 0.03200 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top