Re[2]: problem with the scrollbar inside the notebook

Vadim Zeitlin <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
[Please don't cc me the messages posted to the list, thank you]

On Wed, 30 Oct 2024 10:56:03 +0100 Zoran Bošnjak wrote:

ZB> Based on your suggestion, I have run some printf style debugging on all 
ZB> windows, on both: old (working) and new (non-working) wxhaskell version.
ZB> 
ZB> p1 is exactly the same on both, however, there are some small size 
ZB> differences on other windows. Could you tell from this output what to 
ZB> check next?

 I think you're getting the sizes too early, as with the actual size equal
to the virtual size there shouldn't be any need for the scrollbar in either
version. Try to put the debugging code in wxEVT_SIZE handler or maybe add a
button/menu item to run it manually later.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
              https://www.tt-solutions.com/
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCZyI9XAAKCRAG6kHeT2we
hpZWAJwIkzmU2aKb+0wr2Bajsj3PrElnJQCfS0vnBwuXtf6tTijwTPLYrMSQfUs=
=OCr+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.