Incoherencia entre la restricción y la alineación del texto

Has configurado una capa de texto para que se redimensione según sus caracteres, la has alineado a un borde y le has aplicado una restricción a otro diferente. La alineación determina qué borde permanece fijo mientras cambia el texto, pero el código QML sigue la restricción en su lugar. Una instancia que sobrescribe el texto mueve entonces la capa.

Discrepancia entre la restricción y la alineación del texto.

Ejemplo de conflicto entre restricciones y alineación de texto.

Establece la restricción en el borde al que está alineado el texto, o alinea el texto con el borde al que está restringido.

Véase también Solucionar problemas de conversión.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.