Hi
I have a single column table. In this column i want to put in a text string with a lenght more than what can be shown on the device. I have therefor set the wrap to true. But it is not wrapping the text.
Here is the code:
Æcom_owner.Set_Table Name(Results2) Layout_Cols(-1) Border_Thickness(1) Border_Cornerradius(11) Border_Color(Black) Layout_Row(3) Layout_Col(1)
ÆCOM_OWNER.Set_Table Name(Results2) Col_N(1) Col_Name(COL1) Col_Width(Fit)
ÆCOM_OWNER.Set_Label Name('Results2.Row%' + ÆuEntry.AsString + '.COL1') Text(ÆK4BEM) Wrap(TRUE)
is it not possible to wrap in a table?
/klaus
Single column table and wrap - RDMLX
-
tsupartono
- Posts: 289
- Joined: Wed Apr 18, 2012 10:21 am
Re: Single column table and wrap - RDMLX
It's definitely possible to wrap inside a table.
There can be a few reasons why your label is not wrapping, but let's start with the most obvious problem.
I noticed that you set the table column to FIT. This means that the column will take as much space as required to fit the whole text as one line (text will only wrap if it cannot fit in the provided space).
So try to change your column's width to FILL instead. This will stop the column from automatically expanding to the text width.
There can be a few reasons why your label is not wrapping, but let's start with the most obvious problem.
I noticed that you set the table column to FIT. This means that the column will take as much space as required to fit the whole text as one line (text will only wrap if it cannot fit in the provided space).
So try to change your column's width to FILL instead. This will stop the column from automatically expanding to the text width.
Re: Single column table and wrap - RDMLX
Thanks.
now it works
now it works