Layouting::ScrollArea Class
class Layouting::ScrollAreaEnvuelve « QScrollArea » para su uso en un generador de maquetación. Más...
| Header: | #include <ScrollArea> |
| Inherits: | Layouting::Widget |
Funciones públicas
| void | setFixSizeHintBug(bool fixBug) |
Descripción detallada
El área de desplazamiento se crea con ` widgetResizable ` establecido en ` true`. El contenido interno puede ser un diseño (`Layout`), un control (`Widget`) o un elemento sin formato (` QWidget`). De forma predeterminada, `sizeHint` tiene un límite de 36 x 24 em de ancho como solución provisional para el error QTBUG-136762; llama a ` setFixSizeHintBug` (verdadero) para desactivar el límite.
Véase también Layouting::Widget.
Documentación de las funciones miembro
void ScrollArea::setFixSizeHintBug(bool fixBug)
Cuando ` fixBug ` es ` true`, se desactiva el límite predeterminado de `sizeHint` de 36 × 24 anchos de em, que soluciona el problema QTBUG-136762. Activa esta opción cuando el área de desplazamiento deba indicar su tamaño preferido completo, en lugar de limitarlo.
Copyright © The Qt Company Ltd. and other contributors. 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.