* [PATCH] breakpoint table left-justify
@ 2002-03-06 22:09 Martin M. Hunt
0 siblings, 0 replies; only message in thread
From: Martin M. Hunt @ 2002-03-06 22:09 UTC (permalink / raw)
To: Insight Mailing List
I'm calling this an obvious patch because not many people
like right-justified tables, especially when some function
names are very long and some very short.
--
Martin Hunt
GDB Engineer
Red Hat, Inc.
2002-03-06 Martin M. Hunt <hunt@redhat.com>
* library/bpwin.itb: Left-justify the labels in
the table.
Index: library/bpwin.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/bpwin.itb,v
retrieving revision 1.11
diff -u -p -r1.11 bpwin.itb
--- bpwin.itb 2002/03/05 22:22:19 1.11
+++ bpwin.itb 2002/03/07 06:05:54
@@ -238,9 +238,9 @@ body BpWin::bp_add {bp_event {tracepoint
}
if {$tracepoints} {
- label $twin.num$i -text "$number " -relief flat -anchor e -font global/fixed -bg $bg1
+ label $twin.num$i -text "$number " -relief flat -anchor w -font global/fixed -bg $bg1
}
- label $twin.addr$i -text "[$bp_event get address] " -relief flat -anchor e -font global/fixed -bg $bg1
+ label $twin.addr$i -text "[$bp_event get address] " -relief flat -anchor w -font global/fixed -bg $bg1
if {[info exists _files(short,$file)]} {
set file $_files(short,$file)
} else {
@@ -249,13 +249,13 @@ body BpWin::bp_add {bp_event {tracepoint
}
if {$show_threads} {
if {$thread == "-1"} {set thread "ALL"}
- label $twin.thread$i -text "$thread " -relief flat -anchor e -font global/fixed -bg $bg1
+ label $twin.thread$i -text "$thread " -relief flat -anchor w -font global/fixed -bg $bg1
}
- label $twin.file$i -text "$file " -relief flat -anchor e -font global/fixed -bg $bg1
- label $twin.line$i -text "[$bp_event get line] " -relief flat -anchor e -font global/fixed -bg $bg1
- label $twin.func$i -text "[$bp_event get function] " -relief flat -anchor e -font global/fixed -bg $bg1
+ label $twin.file$i -text "$file " -relief flat -anchor w -font global/fixed -bg $bg1
+ label $twin.line$i -text "[$bp_event get line] " -relief flat -anchor w -font global/fixed -bg $bg1
+ label $twin.func$i -text "[$bp_event get function] " -relief flat -anchor w -font global/fixed -bg $bg1
if {$tracepoints} {
- label $twin.pass$i -text "[$bp_event get pass_count] " -relief flat -anchor e -font global/fixed -bg $bg1
+ label $twin.pass$i -text "[$bp_event get pass_count] " -relief flat -anchor w -font global/fixed -bg $bg1
}
if {$mbar} {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-03-07 6:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-06 22:09 [PATCH] breakpoint table left-justify Martin M. Hunt
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).