Menu

#45 tabset uses wrong padding for windows in its tabs

open
nobody
None
5
2025-06-17
2025-06-17
No

Hi!

There's a bug in BLT 3 tabset widget: it doubles left and top paddings when drawing windows inside tabs. The attached demo (taken from the Python's PMW library and rewritten in Tcl) shows this in the Helpers panel (there is a lone button with huge paddings, it should be centered in the tab, but it's shifted down and to the right). Appears that subtracting the paddings from the cavity width and height is missing in bltTabset.c (it is there in version 2). The attached patch re-adds the code.

2 Attachments

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.