Skip to content
Discussion options

You must be logged in to vote

Thanks for the clear write-up — and apologies for the slow reply. The HandleResize override you landed on is actually the idiomatic fpGUI pattern, so you weren't doing anything improper. But you hit two genuine papercuts, and one of them is squarely our fault.

1. OnResize was missing from the grid — now fixed

The event has always existed on TfpgWidget, and the notification path fires correctly, including when a layout manager resizes a widget. It simply was never republished on the grid classes, so it was invisible to user code and to the designer. That was an oversight on our side. TfpgStringGrid and TfpgFileGrid now publish OnResize in the develop branch.

2. Width in fpGUI is not what i…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@sfein1000
Comment options

@graemeg
Comment options

Answer selected by sfein1000
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants