Tk Source Code

Timeline
Login

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

30 check-ins related to "tip-441"

2016-01-22
09:21
Implement TIP #441: Add -justify Configuration Option to the listbox Widget check-in: 12499582 user: jan.nijtmans tags: trunk
2016-01-18
18:45
Removed unfinished test case committed by error in the previous commit. Closed-Leaf check-in: 9a244ba8 user: fvogel tags: tip-441
18:43
Reverted [5f396dacdc]. check-in: d1731afd user: fvogel tags: tip-441
18:17
Removed attempt of adjustment of the startup xview according to the -justify option. Anyway this does not work. check-in: 87072faf user: fvogel tags: tip-441
10:19
Documented what listbox-3.18b intends to test. check-in: eff8237f user: fvogel tags: tip-441
10:08
Use GetMaxOffset when possible to reduce code duplication. The change in ListboxScanTo is not exactly equivalent but I believe the previous version was a bug. check-in: 3bb0cf88 user: fvogel tags: tip-441
09:47
Fixed bug with the listbox justify patch: with large borders, when moving the horizontal scrollbar fully to the right the edge of the border could not be seen, one needed to push once on the right arrow of the scrollbar to see it. Test case:    package require Tk destroy .top toplevel .top listbox .top.l -justify right -borderwidth 17 -highlightthickness 19 -selectborderwidth 22 scrollbar .top.hs -command ".top.l xview" -orient horizontal .top.l configure -xscrollcommand ".top.hs set" set huge [concat "START -" [string repeat "Huge Item... " 20] "- END"] .top.l insert end $huge pack .top.l -expand 1 -fill both pack .top.hs -expand 1 -fill x check-in: 5f396dac user: fvogel tags: tip-441
2016-01-17
21:09
Addressed question 4 (see artifact [9d48a9c212] of ticket [3f456a5bb9]). check-in: ae788ecf user: fvogel tags: tip-441
20:40
Addressed questions 3 and 5 (see artifact [9d48a9c212] of ticket [3f456a5bb9]). It is not desirable to make the listbox xview jump on resizing. check-in: 33195408 user: fvogel tags: tip-441
2016-01-16
15:45
Removed test listbox-3.18c since it is irrelevant (the rendering of the selected items is made in a code that depends on existence of a selection but this is untestable by bboxing since bbox is independent from the presence of a selection in the listbox) check-in: 7bc53e6b user: fvogel tags: tip-441
15:43
Decided about test results for listbox-3.18a check-in: 712e2125 user: fvogel tags: tip-441
15:22
Rebased to latest trunk check-in: 83dfa2db user: fvogel tags: tip-441
15:21
Fixed bug [639558ac83] - Lots of listbox tests fail on Linux check-in: 6543f30d user: fvogel tags: trunk
14:20
Addressed issue B (see artifact [9d48a9c212] of ticket [3f456a5bb9]) check-in: ff7d0131 user: fvogel tags: tip-441
14:16
Addressed issue A and question 6 (see artifact [9d48a9c212] of ticket [3f456a5bb9]).    Issue A is fixed. Test case: package req Tk listbox .l .l insert end M M M M M M M M M pack .l .l conf -just center ; # or right .l conf -highlightthickness 40 .l selection set 4    Regarding question 6, Tk_TextWidth is a bit lower level function in the API, which must be slightly beneficial regarding performance. Tk_TextWidth is therefore preferred. check-in: bfbd8ae6 user: fvogel tags: tip-441
14:03
Addressed question 2 (see artifact [9d48a9c212] of ticket [3f456a5bb9]). This code arranges for the correct xview when creating the listbox with non-default justification. It is correctly placed in Tk_ListboxObjCmd. When changing justification later, i.e. in ConfigureListbox, there is no reason to change the xview, it would not be desired that the listbox xview jumps when configuring -justify. check-in: ce7ce2f5 user: fvogel tags: tip-441
14:00
Addressed question 1 (see artifact [9d48a9c212] of ticket [3f456a5bb9]) check-in: e85c0d6b user: fvogel tags: tip-441
2016-01-13
18:07
Rebased to latest trunk check-in: 51daaaff user: fvogel tags: tip-441
17:56
TIP #438 (Ensure Line Metrics are Up-to-Date) accepted by vote check-in: 15b7aa7e user: fvogel tags: trunk
07:49
More typos fixed check-in: 2eedd5f1 user: fvogel tags: tip-441
07:16
Typo fixed check-in: a61ce95b user: fvogel tags: tip-441
2016-01-12
15:08
Added more tests check-in: 6c1319b0 user: fvogel tags: tip-441
2016-01-11
18:00
Added some tests check-in: 6adb42a0 user: fvogel tags: tip-441
16:23
Polished listbox justification demo check-in: b976a36c user: fvogel tags: tip-441
14:32
Improved patch formatting. No functional change check-in: c83c6499 user: fvogel tags: tip-441
13:23
merged trunk check-in: d9f9c7f5 user: fvogel tags: tip-441
01:11
Merge mark check-in: 92a35a10 user: kevin_walzer tags: trunk
2014-02-11
19:05
Adapt documentation and test-case check-in: 3d73fb00 user: jan.nijtmans tags: tip-441
14:56
[3f456a5bb9]: Patches for listbox right justify check-in: 87d4c778 user: jan.nijtmans tags: tip-441
11:53
Fix [52ca3e7f55]: XkbOpenDisplay macro incorrect when HAVE_XKBKEYCODETOKEYSYM is not defined check-in: f77057f6 user: jan.nijtmans tags: trunk