251 views
in Embedded Wizard Studio by
Hello EW Team,

I am currently working in EW Pro 9.20. I am working with an application with 2 modes, one horizontal and one vertical. I need to use an AttrText, and I would like to know what would be the best way to have the same behaviour as the "Orientation" property of the Views::Text class?

Have a nice day,
Velas

1 Answer

0 votes
by

Hello Velas,

Attributed Text view does not support the possibility to rotate its content. Following could be the possibility alternative approaches:

Option 1: If the vertical/horizontal mode is static, it does not change at the runtime, you could eventually achieve the desired behavior by configuring the ScreenOrientation attribute for the entire application.

Option 2: If the orientation changes at the runtime, put the Attributed Text view inside a component, and display the content of this component by using the Warp Group view. With Warp Group view you can rotate, or even reshape the displayed content.

Best regards

Paul Banach

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...