On Thu May 18 16:00:26 2023 +0000, Esme Povirk wrote:
For filedlg, is there a reason not to use the size of the toolbar itself? I'd expect that it's already being scaled to DPI.
Hi Esme,
Yes, in theory, we can (by "height = rectTB.bottom - rectTB.top"). It will look like this:
![Screenshot_from_2023-05-19_22-47-41](/uploads/2b117467455d4c293f6edfd2a2cff811/Screenshot_from_2023-05-19_22-47-41.png)
The buttons on toolbar are much bigger than the button on the combo box, which looks not beautiful to my taste. :) But sure, this is mainly my personal preference.