From: Pekka Kaitaniemi <kaitanie@cc.helsinki.fi>
To: Paul Mackerras <paulus@samba.org>
Cc: kaitanie@cc.helsinki.fi, gitster@pobox.com,
newsletter@dirk.my1.cc, git@vger.kernel.org
Subject: Re: [PATCH v2] gitk: Add horizontal scrollbar to the diff view
Date: Fri, 7 Mar 2008 14:16:19 +0200 [thread overview]
Message-ID: <20080307121619.GA1768@localdomain> (raw)
In-Reply-To: <18384.30851.318641.612252@cargo.ozlabs.ibm.com>
On Fri, Mar 07, 2008 at 10:04:35AM +1100, Paul Mackerras wrote:
> Pekka Kaitaniemi writes:
>
> > - -yscrollcommand scrolltext -wrap none
> > + -yscrollcommand scrolltext -wrap none \
>
> Why this whitespace change?
For no good reason at all... Fixed. The real change was the \ at the
end of the line.
> > + scrollbar .bleft.sbhorizontal -command "$ctext xview" -orient h \
> > + -width 10
>
> Are you using Tk 8.4 or 8.5? With Tk 8.5 the scrollbars are thinner
> and I wonder whether specifying a width of 10 will actually make it
> fatter than it would be otherwise.
I was using Tk 8.4 to make the patch. Today I installed 8.5. On 8.5 it
seems that the horizontal scroll bar is as wide as the default one, or
maybe slightly narrower so it looks quite OK. At least it behaves this
way on Linux. I can't really test how well it works on Mac and Windows
since I don't use them.
So Tk 8.5 actually has more reasonably sized scrollbars than
8.4. Maybe the hardcoded width setting should be dropped? This would
probably make the patch more "cross plattform" because Windows and Mac
versions of Tk may have different "themes" and scrollbar widths than
the Linux version. On those plattforms the width of 10 might be fatter
than the default.
Pekka
prev parent reply other threads:[~2008-03-07 12:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-06 12:38 [PATCH v2] gitk: Add horizontal scrollbar to the diff view Pekka Kaitaniemi
2008-03-06 20:43 ` Dirk Süsserott
2008-03-06 23:04 ` Paul Mackerras
2008-03-07 12:16 ` Pekka Kaitaniemi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080307121619.GA1768@localdomain \
--to=kaitanie@cc.helsinki.fi \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=newsletter@dirk.my1.cc \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox