Hello!!
I'm using StaticTextItem to create a detail, I have this:
public class DLabel extends StaticTextItem {
public DLabel(String titulo) {
super();
setTitle(titulo);
setTitleStyle("detalle_titulo");
setTitleAlign(Alignment.LEFT);
setTextBoxStyle("detalle-texto");
setWrapTitle(false);
setValue("-");
}
}
In other class I have:
lblNomb = new DLabel("Nombre: ");
lblCi = new DLabel("Cédula: ");
lblEmail = new DLabel("Correo Electrónico: ");
The detail is:
Nombre: Pedro Martínez
Cédula: 11.523.446
Correo Electrónico: aaaaaaaaaa@gmail.com
Now, the detail is good, the problem is, delete the space that exist between "Nombre: ", "Cédula: " and value of this DLabel...
The Result I want is:
Nombre: Pedro Martínez
Cédula: 11.523.446
Correo Electrónico: aaaaaaaaaa@gmail.com
What properties should have the DLabel class?
Thanks in advance!!!...
Announcement
Collapse
No announcement yet.
X
-
StaticTextItem uses non-defined
Hi,
I noticed an error which resulted in the to be shown in a static text item. In the StaticTextItem there is this code:
if (asHTML && (internalValue == null || internalValue == isc.emptyString)
&& value == this._$nbsp)
but this._$nbsp; is not defined, it is defined in Canvas.js but a form item (like static text item) does not inherit from Canvas and therefore this member is not defined.
Noticed in 8.1 nightly from 9th of September.
gr. MartinLast edited by martintaal; 20 Sep 2011, 08:04.Tags: None
Leave a comment: