From: Keith Seitz <keiths@redhat.com>
To: insight <insight@sourceware.org>
Subject: [PATCH] Fix scrollbar borderwidth on variable windows
Date: Fri, 24 Apr 2009 03:41:00 -0000 [thread overview]
Message-ID: <49F134DB.8040100@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 566 bytes --]
Hi,
For an embarrassingly long time now, I've noticed (at least on linux)
that scrollbars in the variable windows were pretty darn ugly. So while
I was in a hacking mood, I figured out what was causing it. I'm not
entirely sure why the "-borderwidth 0" option was used originally, but
removing definitely looks better to me than having it.
If there are any problems with this patch on other systems, please let
me know.
Keith
ChangeLog
2009-04-23 Keith Seitz <keiths@redhat.com>
* library/vartree.itb (constructor): Remove the borderwidth 0
argument.
[-- Attachment #2: vartree-borderwidth.patch --]
[-- Type: text/plain, Size: 1042 bytes --]
Index: library/vartree.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/vartree.itb,v
retrieving revision 1.7
diff -u -p -r1.7 vartree.itb
--- library/vartree.itb 23 Dec 2005 18:26:50 -0000 1.7
+++ library/vartree.itb 24 Apr 2009 03:37:44 -0000
@@ -1,5 +1,5 @@
# Variable tree implementation for Insight.
-# Copyright (C) 2002 Red Hat, Inc.
+# Copyright (C) 2002, 2009 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License (GPL) as published by
@@ -20,7 +20,7 @@ itcl::body VarTree::constructor {args}
itk_component add canvas {
iwidgets::scrolledcanvas $itk_interior.c -autoresize 1 -hscrollmode dynamic -vscrollmode dynamic \
- -background $::Colors(textbg) -borderwidth 0 -highlightthickness 0
+ -background $::Colors(textbg) -highlightthickness 0
}
set c [$itk_component(canvas) childsite]
pack $itk_component(canvas) -side top -fill both -expand 1
reply other threads:[~2009-04-24 3:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=49F134DB.8040100@redhat.com \
--to=keiths@redhat.com \
--cc=insight@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).