Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
CrushBy opened this issue Nov 28, 2024 · 0 comments

Comments

@CrushBy
Copy link
Collaborator

CrushBy commented Nov 28, 2024

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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant