Skip to content

alignment = STRETCH for a property of type RICHTEXT and HTMLTEXT in a horizontal container does not work #1342

@CrushBy

Description

@CrushBy

Sample source code :

tt 'Tt' = DATA LOCAL RICHTEXT ();
FORM test
    PROPERTIES tt()
;
DESIGN test {
    OBJECTS {
        NEW cont {
            caption = 'Note';
            fill = 1;
            horizontal = TRUE;
            MOVE PROPERTY (tt()) {
                caption = '';
                fill = 1;
            }
        }
    }
}
run(){
    DIALOG test DOCKED;
}

As a result PROPERTY(tt()) has the fixed height (instead of stretching) :

element.style {
    height: 6.01709em;
    flex: 1 1 auto;
    min-width: 0rem;
    width: 8.12698em;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions