|
|
|
|
Re: Changing UI Orientation [message #462089 is a reply to message #462088] |
Wed, 05 October 2005 23:14 |
Joe Mihalich Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Sorry, I just realized that you meant you wanted to rotate the
entire application, including the frame, menus and toolbars.
That I have never done.
Joe
"Joe Mihalich" <jmihalich@is-mwv.com> wrote in message
news:di1mc5$ajs$1@news.eclipse.org...
>
> The only way to do this is to manually do the math your self.
> You can store the points in some reference space such
> as portrait, and then rotate everything 90 degrees by adjusting
> the coordinates of the graphic objects. Obviously, rectangles
> become polygons in this manner if you're not rotating at 90
> degree angles.
>
> This should work for everything including text boxes, where you'll have
> to rotate the text too...which I know is possible at least on the
> windows
> platform.
>
> Look at the latest verison of Visio if you can. You can rotate any
> object
> you want freely and manually. This is the functionality you want but
> "automated" to do it at a 90 degree angle instead of the user rotating
> everything manually.
>
> Joe
>
>
>
> "Steve Crago" <cragos@earthlink.net> wrote in message
> news:di0b46$bh4$1@news.eclipse.org...
>> I've only seen the code for rotating images, which doesn't help because
>> I'm not dealing with images.
>>
>> While I could create images from the labels, I need to display several
>> Radio Buttons and have listeners attached to them.
>>
>> All of this requires the view to be in a "Landscape" or Vertical
>> position.
>>
>>
>> "Steve Northover" <steve_northover@ca.ibm.com> wrote in message
>> news:dhvcc1$3p7$1@news.eclipse.org...
>>> Have you ever seen a native appliacation that does this?
>>>
>>> "Butch" <slcrago@mclaneco.com> wrote in message
>>> news:4ab432cca1a08234b6467a462ccce1eb$1@www.eclipse.org...
>>>> I'm trying to change to orientation of my SWT UI from portrait to
>>>> landscape.
>>>>
>>>> I want all of my widgets (mostly labels and buttons) to be positioned
>>>> from
>>>> left to right and then from top to bottom ... in other words rotate the
>>>> widgets so you have to turn the hand-held device sideways in order to
>>>> read
>>>> the text.
>>>>
>>>> The UI requires user interaction so turning it into an image is
>>>> basically
>>>> out of the question from my standpoint.
>>>>
>>>> In case you haven't picked up on it yet, I'm EXTREMELY new to SWT.
>>>>
>>>> Any help would be appreciated.
>>>>
>>>> Thanks,
>>>>
>>>> Butch
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04341 seconds