Tk Source Code

Check-in [e7c81329]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix for [3301552fff]: ttk::spinbox -font does not resize buttons.
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: e7c81329e602b8fbd70fb0cd22908939cde49a1b840cfa12b088a75c40e89896
User & Date: csaba 2026-09-29 10:05:11.019
References
2026-09-29
10:39 • Closed ticket [3301552f]: ttk::spinbox -font does not resize buttons plus 9 other changes artifact: 1dab5193 user: nemethi
Context
2026-09-29
15:28
Fix [2ef5dd8036] and [307b06cbc2]: Aqua: "pack forget" leaves window on screen. Since 9.0, unmapping a non-toplevel window no longer redrew its toplevel, so the area from which the window was removed was not redrawn and no Expose events were generated. Schedule the redraw in an idle task, as XMapWindow and XDestroyWindow do. closed check-in: 1b1c0ed6 user: serhiy.storchaka tags: aqua-unmap-redraw
15:27
Fix for [1100518fff]: Button should stay in -overrelief state after event. check-in: 3aa08341 user: csaba tags: trunk, main
15:21
Fix [061f633f43]: MacOS aqua: <<ContextMenu>> binding sometimes triggers for incorrect toplevel. Clicking with the right or middle button does not make the window the key window, so these events were sent to the widget at the same position in the toplevel which has the focus. Send them to the toplevel which was clicked. closed check-in: db5c579a user: serhiy.storchaka tags: aqua-right-click-target
11:32
Merge trunk check-in: 7ae728cf user: serhiy.storchaka tags: x11-bidi-long-text
10:18
Fix for [3301552fff]: ttk::spinbox -font does not resize buttons. check-in: 98f2f50e user: csaba tags: core-8-6-branch
10:10
Fix for [3301552fff]: ttk::spinbox -font does not resize buttons. check-in: 8ec01a62 user: csaba tags: core-9-0-branch
10:05
Fix for [3301552fff]: ttk::spinbox -font does not resize buttons. check-in: e7c81329 user: csaba tags: trunk, main
07:47
Add (manual) testcase check-in: 018eee75 user: jan.nijtmans tags: trunk, main
2026-09-28
20:40
Fix [3301552]: ttk::spinbox -font does not resize buttons

In the vista theme the arrows are placed at the top and at the bottom of the field, so with a large font there was a gap between them. Extend them to fill the space between them, as in the native up-down control. closed check-in: 6ff1ea80 user: serhiy.storchaka tags: vista-spinbox-arrows

Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/ttk/ttkEntry.c.