Skip to content

Conversation

macpete
Copy link
Contributor

@macpete macpete commented Nov 18, 2021

Builds on #17.

This allows the user to place additional widgets in the dialog between the filename text box and the Open/Save/Cancel buttons via an optional callback passed to Open(). I'm using this to select modes and to specify options for save operations (e.g., JPEG quality,...)

A demo has been added to the example application.

Master and docking branch both work.
Otherwise the compiler complains that they have been "declared ‘static’
but never defined" in user code.
Mostly int/size_t mismatches.
- top bar isn't cut off anymore if a larger font is used (i.e, 48 points for high-dpi displays)
- button sizes for Open/Save and Cancel in the bottom bar now also depend on the font size
- the frame inset at the bottom frame border now has the same size as for the other borders (it was slightly too big before)
… between filename text box and Open/Save/Cancel buttons
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.

1 participant