summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames J. Raden <james.raden@gmail.com>2016-01-21 12:07:47 -0500
committerJohannes Schindelin <johannes.schindelin@gmx.de>2025-01-11 18:17:42 +0100
commit18a7e19846ee186d60dbf7c2c865ac1d1aa531c4 (patch)
tree8cceea0f345792bbdaf290b0ba9d896412478131
parentac75b4c265952e382dbd67018058a853393d4ecd (diff)
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 <james.raden@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-rwxr-xr-xgitk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitk b/gitk
index 5b9b1f64fd..bc9efa1856 100755
--- a/gitk
+++ b/gitk
@@ -10209,7 +10209,7 @@ proc showrefs {} {
text $top.list -background $bgcolor -foreground $fgcolor \
-selectbackground $selectbgcolor -font mainfont \
-xscrollcommand "$top.xsb set" -yscrollcommand "$top.ysb set" \
- -width 30 -height 20 -cursor $maincursor \
+ -width 60 -height 20 -cursor $maincursor \
-spacing1 1 -spacing3 1 -state disabled
$top.list tag configure highlight -background $selectbgcolor
if {![lsearch -exact $bglist $top.list]} {