(Migrated from the comments of #26124) On MSW, the widest button determines the width of the other buttons on the toolbar. However, when the widest button in the toolbar is removed abd none of the remaining buttons can maintain the same width, the width of toolbar buttons does not automatically shrink.
| Expected | Observed |
|---|---|
| image.png (view on web) | image.png (view on web) |
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
We probably could fix this by just calling Realize() in wxToolBar::DoDeleteTool(). And it might be not even worth checking if it needs to be done, i.e. if the tool being deleted is really the widest one, as deleting tools is something done pretty rarely, so it's not worth optimizing this.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()