Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Papyrus/Papyrus User Guide/Toolbars/TextAlignment

< Papyrus‎ | Papyrus User Guide
Revision as of 05:30, 26 September 2014 by Mickael.adam29.gmail.com (Talk | contribs) (Created page with "=Text Alignement= ==Introduction== Papyrus allow text alignment on external label, that means that when you're editing text it will be move on the selected side. You can align...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Text Alignement

Introduction

Papyrus allow text alignment on external label, that means that when you're editing text it will be move on the selected side. You can align text to the left, to the centre or to the right.

Example of text alignment to the right:

Before a rename of the label: TextAlignmentBefore.png

After a rename of the label: TextAlignmentAfter.png

there is two way to align text: with the existing button or thanks CSS:

Apply text alignement with button

To apply text alignment you can use button. There are available in tree place:

In the papyrus menu: TextAlignmentButton01.png


In the toolbar: TextAlignmentButton02.png


In the contextual menu: TextAlignmentButton03.png

Apply text alignment with CSS

Text alignment can be defined through the CSS attributs "textAlignment" :

Exemple for Label of Port align to the right:

Port > Label { textAlignment:"right"; }

Back to the top