IMDTouchKnowledge BaseShop main store

How-to

Adding a line break inside a Weintek EasyBuilder label entry

HMI and touchscreens Published 5 min read By IMDTouch engineering team

Short answer

Open the label's Settings detail from the Label list, press Enter where the first line ends, type the second line and confirm with OK; the break is stored even when the list still shows one row. Verify the two lines in the detail editor and on the screen object, in every language, before you download.

On this page
  1. The break is stored text, not a second label
  2. Insert the break in the label's Settings detail
  3. Two editing paths, one stored record
  4. Worked example: two-line label in a 200 x 40 px text object
  5. Verify every language and the running panel
  6. If the screen still shows one line
  7. Questions asked

EasyBuilder Pro stores a manual line break inside the label text itself, and the place to type it is the label's Settings detail, not the Label list. Open Label from the Project menu, select the entry, open Settings, click in the language field where the first line should end, press Enter, type the second line and confirm with OK. The break is stored from that moment, even though the Label list may keep showing the entry as one compact row. What follows is the click sequence, the height arithmetic for the object that displays the label, and the checks to run in every language before you download.

The break is stored text, not a second label #

Pressing Enter inside the label's text field inserts a line-break character at the cursor position. It does not create a new label entry, so every screen object that references the label keeps the same entry and now receives two lines of text.

The single row you may still see in the Label list is presentation, not content: the list draws one compact row per record, while the detail editor and the runtime render the stored break. The objects chapter of the EasyBuilder Pro user manual documents that multiline text is aligned within the label's outline and that the alignment method for those lines can be selected, which is why the same two-line label can look tidy in one object and clipped in a smaller one.

Insert the break in the label's Settings detail #

  1. Open the project and pull down the Project menu, then choose Label to display the list of label entries.
  2. Click the label that needs a second line.
  3. Select Settings to open that label's detail, with one text field per configured language.
  4. Click inside the language field at the exact word where the first line must end: a natural phrase boundary, not between two tightly linked words.
  5. Press Enter once. The cursor drops to a second line inside the same field, and the list gains no new entry.
  6. Type the second line, or move the existing words down onto it.
  7. Confirm with OK.
  8. Reopen Settings and place the cursor on both lines to confirm the words sit in the intended order. A single-row appearance in the list afterwards is normal.

Do not pad the first line with spaces to push text down: proportional fonts and translated text make space-based alignment unstable, and the next edit in another language undoes it.

Two editing paths, one stored record #

An Excel import reaches the same stored result: when the source cell holds Alt+Enter, the imported label already carries the break. Direct editing is not a different kind of label, only a different input path. Two consequences follow:

  • After an import, open the label's Settings detail and confirm both lines arrived.
  • Decide which path controls the current revision before any bulk translation change, because the spreadsheet and the project label data are two editors of the same record.

Worked example: two-line label in a 200 x 40 px text object #

Take an alarm phrase that must display as two lines. The pixel figures below are example values read off one object in a screen editor; the documentation fixes the Enter behavior, not pixel sizes, so measure your own object the same way.

Inputs:

  • Rendered line height: 18 px, measured in the screen editor for this object's font (example value).
  • Object size: 200 px wide by 40 px tall, from the object's geometry in the screen editor (example value).
  • Longest rendered line after the break: 150 px (example value, measured with the break applied).
  • Line count: 2 lines, from the single break this edit stores.

Rule: the object's usable height must equal or exceed the line count multiplied by the rendered line height, and the longest line must fit inside the usable width.

Arithmetic:

  • Needed height = 2 lines x 18 px = 36 px.
  • Spare height = 40 px - 36 px = 4 px.
  • Width check: 150 px is less than 200 px, so there is no horizontal clipping.

Result: the two-line label fits with 4 px of height to spare.

Decision: keep the object at its current size and compile. The threshold is the usable height: one more line at this font would need 54 px against the 40 px available, and whenever the needed height exceeds the object's height you drag the object taller before downloading, because the runtime clips whatever the outline cannot show.

Verify every language and the running panel #

Two translations of one label rarely have the same length, so a break that suits one language can leave another crowded or clipped even when every character is stored correctly. Before the project leaves the bench:

  • Switch the editor through every configured language and look at the object that uses the label.
  • Move that language's break to its own natural phrase boundary inside its field in Settings.
  • Where a line clips or overlaps a neighboring control, resize or move the object, the same geometry edits you make when adding flowmeter and sensor graphics to an EasyBuilder Pro screen.
  • Download and read the label on the running panel in each language and operating state where it appears. If the label carries an alarm or an operating instruction, do this before the machine returns to service.

If the screen still shows one line #

The Settings detail is the only place that tells you what is stored; the object's outline is the only place that tells you what will display. Work the two separately:

What you observe What it means Decision
Label list shows one row Normal list presentation Ignore the row; read the Settings detail
Settings shows one line after reopening The break was not retained Repeat the Enter step and confirm with OK
Settings shows two lines, screen shows one The object's text area is too short Enlarge the object and recheck
One language fits, another clips Translation lengths differ Move that language's break; resize if still tight
Text overlaps an adjacent object The two-line envelope is taller than the old layout Reposition the neighboring objects
An unexpected blank line appears Enter was pressed twice Delete the extra break in Settings
The break vanished after an Excel import The spreadsheet replaced the entry Reapply the break in the controlling source

If the detail shows two lines and the screen does not, fix the object, not the label. If the detail itself shows one line, the edit did not take: repeat the entry steps and confirm with OK before looking anywhere else.

Questions asked

How many lines can one EasyBuilder label hold?

Each press of Enter in the Settings field stores one more line in the same label entry, and every object referencing that entry receives all the lines. There is no separate multiline object to create. The practical limit is the displaying object's usable height: a three-line label needs an object tall enough for three rendered lines, or the last line clips.

Why does Alt+Enter do nothing when I try it in the Label list?

The Label list only presents the stored entries and accepts no text editing, so no key combination typed there changes a label. Alt+Enter belongs to the Excel source cell before import; for a direct edit the break is typed with Enter inside the label's Settings detail. Both paths write the same stored break.

Can two screens split the same label text differently?

No. One label entry carries one stored break, and every screen object that references it displays the same split. If two screens need the phrase divided at different words, create a second label entry with its own break and point the second screen's object at that entry, rather than editing the shared one.

Is the stored break the same as the object's text alignment?

No. The break is a character inside the stored label text, so it splits the text at one fixed point in every object that uses the entry. The alignment setting described in the EasyBuilder Pro user manual only positions the resulting lines inside the object's outline; it neither moves the break nor adds one.

Keep reading

  • How-to

    Setting Up a Weintek HMI as a Central RFID Login Server

    Your existing HID proximity cards work, and no PC is needed: one HMI acts as the login server. Program the reader for keyboard emulation, add the Barcode Scanner/Keyboard driver, store each card UID as the account password on the server, and let clients log in with LW-1074 as user name, BARCODE 1 as password and a macro on FLAG 0.

    HMI and touchscreens

  • How-to

    Why an EasyBuilder Pro Scheduler Loses RW Times at Power Cycle

    Scheduler times entered into LW vanish at power cycle because LW is volatile. Move the times to RW, correct malformed bit tags such as RW_Bit-700, and turn on LW-9029 momentarily after each edit, because RW otherwise saves only every minute.

    HMI and touchscreens

  • How-to

    Organizing Omron NX1 Tags for a Symbolic Weintek HMI

    Treat a published Sysmac structure as the DB: declare one STRUCT that holds only the variables the panel reads and writes, set the Network Publish attribute on those variables, transfer, and import the tags online into the configured NX1 device in EasyBuilder Pro. Bind objects to the imported symbols and match their types. Keep a union out of the interface; its members share one storage block sized by the largest member, so its end address must be computed.

    HMI and touchscreens

Why WinCC Unified PC Runtime shows a red topology line