Tk Source Code

Check-in [6ff1ea80]
Login

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

Overview
Comment: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.

Downloads: See separate download page
Timelines: family | ancestors | descendants | both | vista-spinbox-arrows
Files: files | file ages | folders
SHA3-256: 6ff1ea80994f6d4162b53575c109d9ebf45a88a09e4e503570a7cdc27dd42058
User & Date: serhiy.storchaka 2026-09-28 20:40:58.348
Context
2026-09-29
10:05
Fix for [3301552fff]: ttk::spinbox -font does not resize buttons. check-in: e7c81329 user: csaba 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

14:00
Use TkObjIsEmpty() in more places check-in: 40f0e170 user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/ttk/ttkEntry.c.