* [PATCH] Fix scrollbar borderwidth on variable windows
@ 2009-04-24 3:41 Keith Seitz
0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2009-04-24 3:41 UTC (permalink / raw)
To: insight
[-- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-24 3:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-24 3:41 [PATCH] Fix scrollbar borderwidth on variable windows Keith Seitz
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).