Gambas Documentation
Compilación e instalación
Componentes
Controls pictures
Cómo...
Descripciones del Lenguaje
Developer Documentation
Componentes adicionales de Gambas
Cómo programar componentes en C/C++
Cómo programar componentes en Gambas
Índice Alfabético de la Interfaz de Programación de Gambas
Documentacion y Recetas
Documentación del Entorno de Desarrollo
Fragmentos de código
Glosario
Índice del Lenguaje
LÉEME
Licencia del Wiki
Manual del Wiki
Mensajes de Error
Pendiente de traducción
Registrarse
Repositorio de Aplicaciones
Tutoriales
Últimos cambios
ar
ca
cs
de
en
eo
es
fa
fr
hu
id
it
ja
ko
mk
nl
pl
pt
pt_BR
ru
sq
tr
vi
zh
zh_TW
Label & TextLabel
TextLabel
understands a subset of HTML, not
Label
.
Label
interprets a '&' as a shortcut indicator. I think the GTK+ equivalent is '_'.
By default,
Label
is vertically centered and horizontally left aligned (or right aligned for rtl languages).
By default,
TextLabel
is top left aligned (or top right for rtl languages).
TextLabel
inserts automatically a line break at words boundary.
Label
does not.
If
Label
.AutoResize is set, the
Label
width & height automatically fit its contents. But if the
Label
is vertically centered, then only the width is adjusted, not the height. Not very coherent, but practical. To be more coherent, only the height should be adjusted if the
Label
is horizontally centered.
If
TextLabel
.AutoResize is set, the height is adjusted according to the width, so that all text is displayed.
Be careful with the border size with the previous requirements!