git-gui: add horizontal scrollbar to commit buffer
authorBert Wesarg <bert.wesarg@googlemail.com>
Fri, 13 Sep 2019 20:16:28 +0000 (22:16 +0200)
committerPratyush Yadav <me@yadavpratyush.com>
Fri, 13 Sep 2019 20:43:25 +0000 (02:13 +0530)
commitda08d559b714016af532594083fe96120b36f58d
tree5097c3c77458f22b139b1aede482e7d906ce5b12
parent5ab72271e16ac23c269f5019a74a7b1d65170e47
git-gui: add horizontal scrollbar to commit buffer

While the commit message widget has a configurable fixed width, it
nevertheless allowed to write commit messages which exceeded this limit.
Though there is no visual clue, that there is scrolling going on. Now
there is a horizontal scrollbar.

There seems to be a bug in at least Tcl/Tk up to version 8.6.8, which
does not update the horizontal scrollbar if one removes the whole
content at once.

Suggested-by: Birger Skogeng Pedersen <birger.sp@gmail.com>
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
git-gui.sh