Skip to content

Commit d0d564c

Browse files
sidecutdscho
authored andcommitted
gitk: make the "list references" default window width wider
When using remotes (with git-flow especially), the remote reference names are almost always wordwrapped in the "list references" window because it's somewhat narrow by default. It's possible to resize it with a mouse, but it's annoying to have to do this every time, especially on Windows 10, where the window border seems to be only one (1) pixel wide, thus making the grabbing of the window border tricky. Signed-off-by: James J. Raden <[email protected]>
1 parent 9677438 commit d0d564c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitk-git/gitk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10209,7 +10209,7 @@ proc showrefs {} {
1020910209
text $top.list -background $bgcolor -foreground $fgcolor \
1021010210
-selectbackground $selectbgcolor -font mainfont \
1021110211
-xscrollcommand "$top.xsb set" -yscrollcommand "$top.ysb set" \
10212-
-width 30 -height 20 -cursor $maincursor \
10212+
-width 60 -height 20 -cursor $maincursor \
1021310213
-spacing1 1 -spacing3 1 -state disabled
1021410214
$top.list tag configure highlight -background $selectbgcolor
1021510215
if {![lsearch -exact $bglist $top.list]} {

0 commit comments

Comments
 (0)