Check-in [2a3fca6a1a]

Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Sep 9.

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

Overview
Comment:Make links work in TIP 535
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:2a3fca6a1aee1659988ccb97085725224627865110ef01508c7a83af8304fe7c
User & Date: dkf 2019-03-11 09:48:26
Context
2019-03-15
09:49
Define the C API for TIP 164 check-in: 9ded1921bb user: dkf tags: trunk
2019-03-11
09:48
Make links work in TIP 535 check-in: 2a3fca6a1a user: dkf tags: trunk
09:46
TIP 164 now has an implementation check-in: 66f5d2177b user: dkf tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tip/535.md.

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

This TIP proposes to remove excess zeroes at the trail of values displaying the tick marks of scale widgets.

# Rationale

In some configuration of the display options of scale widgets, it is possible that one or more trailing zeroes be displayed for tick marks. These zeroes are believed to be useless and should be removed.

This is basically a [bugfix]. (https://core.tcl-lang.org/tk/tktview/c9887a1fc9bbf2712f1f8eed6bf57178521722b8)

Nevertheless, since we have a strong tradition of trying very hard to not break any user application in the wild, and while the change is viewed only as a fix (it's just about removing useless trailing zeroes), the present TIP is raised to check the community point of view before merging the fix in the development branches.

# Specification

Before the change, the values of tick marks of scale widgets are displayed with the same format as the tick value, all with the same number of decimal places, possibly with trailing zeroes.

After the change, the values of tick marks of scale widgets are all still displayed with the same number of decimal places, but it is ensured the numer of decimal places are enough to have tick marks all accurate to within 20% of a tick interval. This effectively removes trailing zeroes.

ttk:scale widgets are not concerned by the change (since they do not display tick marks).

# Implementation

See the [scale-tick-format] (https://core.tcl-lang.org/tk/timeline?r=scale-tick-format&unhide) branch.

# Copyright

This document has been placed in the public domain.







|













|




14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

This TIP proposes to remove excess zeroes at the trail of values displaying the tick marks of scale widgets.

# Rationale

In some configuration of the display options of scale widgets, it is possible that one or more trailing zeroes be displayed for tick marks. These zeroes are believed to be useless and should be removed.

This is basically a [bugfix](https://core.tcl-lang.org/tk/tktview/c9887a1fc9bbf2712f1f8eed6bf57178521722b8).

Nevertheless, since we have a strong tradition of trying very hard to not break any user application in the wild, and while the change is viewed only as a fix (it's just about removing useless trailing zeroes), the present TIP is raised to check the community point of view before merging the fix in the development branches.

# Specification

Before the change, the values of tick marks of scale widgets are displayed with the same format as the tick value, all with the same number of decimal places, possibly with trailing zeroes.

After the change, the values of tick marks of scale widgets are all still displayed with the same number of decimal places, but it is ensured the numer of decimal places are enough to have tick marks all accurate to within 20% of a tick interval. This effectively removes trailing zeroes.

ttk:scale widgets are not concerned by the change (since they do not display tick marks).

# Implementation

See the [`scale-tick-format`](https://core.tcl-lang.org/tk/timeline?r=scale-tick-format&unhide) branch.

# Copyright

This document has been placed in the public domain.