Tk Source Code

Check-in [970b9cf9]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Aug 20.

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

Overview
Comment:Minor tweak
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | mac-scrollbar-fix
Files: files | file ages | folders
SHA3-256:970b9cf9be55453f915603e7b1bb6afc9dd6a0c1349d0e7de7a89fa59683c21d
User & Date: kevin_walzer 2018-08-11 15:10:13
Context
2018-08-11
17:48
Remove warning on unused variable Leaf check-in: c53b4a0f user: kevin_walzer tags: mac-scrollbar-fix
15:10
Minor tweak check-in: 970b9cf9 user: kevin_walzer tags: mac-scrollbar-fix
14:47
possible fix for d83153578e to align mouse and vertical scrollbar on macOS by using only normal-size scrollbar, removing small variant check-in: 2be8fdb7 user: kevin_walzer tags: mac-scrollbar-fix
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to macosx/tkMacOSXScrlbr.c.

66
67
68
69
70
71
72

73
74
75
76
77
78
79
    NSControlSize controlSize;
} ScrollbarMetrics;


static ScrollbarMetrics metrics = {
    {15, 54, 26, 14, 14, kControlSizeNormal}, /* kThemeScrollBarMedium */
};

HIThemeTrackDrawInfo info = {
    .version = 0,
    .min = 0.0,
    .max = 100.0,
    .attributes = kThemeTrackShowThumb,
};








>







66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
    NSControlSize controlSize;
} ScrollbarMetrics;


static ScrollbarMetrics metrics = {
    {15, 54, 26, 14, 14, kControlSizeNormal}, /* kThemeScrollBarMedium */
};

HIThemeTrackDrawInfo info = {
    .version = 0,
    .min = 0.0,
    .max = 100.0,
    .attributes = kThemeTrackShowThumb,
};