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

Fluid now stores set sizes for Fl_Flex. #529

Merged
merged 1 commit into from Nov 4, 2022

Conversation

MatthiasWM
Copy link
Contributor

fltk.coredev

Fluid stored only the indices of the fixed widgets for Fl_Flex and derived the sizes from the widgets. This is not enough because automatic resizing may scramble widgets sizes before their intended size is read. So now we store the index and the requested size in the .fd file.

@Albrecht-S
Copy link
Member

Please go ahead, it's now the best time to change this format because FLTK 1.4 has not yet been released and we are in the test phase of fluid's Fl_Flex support. I did not yet test this though but I don't think that this is necessary (I'll try to do it anyway later).

👍 on applying this PR.

@MatthiasWM MatthiasWM merged commit 4b4591d into fltk:master Nov 4, 2022
@MatthiasWM MatthiasWM deleted the fluid_flex_fix branch November 4, 2022 16:49
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

Successfully merging this pull request may close these issues.

None yet

2 participants