This is the mail archive of the insight-prs@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: insight/253: File Selector, Source Function Selector and displaymode selector listboxs not visible at startup


The following reply was made to PR insight/253; it has been noted by GNATS.

From: Ruppert <dieter_ruppert@siemens.com>
To: insight-gnats@sources.redhat.com
Cc:  
Subject: Re: insight/253: File Selector, Source Function Selector and display
 mode selector listboxs not visible at startup
Date: Thu, 14 Jul 2005 09:45:32 +0200

 *** srcwin.itb.orig     Thu Jul 14 09:35:17 2005
 --- srcwin.itb  Thu Jul 14 09:40:33 2005
 ***************
 *** 106,113 ****
      $_statbar.mode list insert end MIXED
      $_statbar.mode list insert end SRC+ASM
 
      pack $_statbar.mode -side right -padx 10 -pady 4
 !   pack $_statbar.name $_statbar.func -side left -pady 4 -padx 10
 
      # if user likes control on top...
      if {[pref get gdb/src/top_control]} {
 --- 106,119 ----
      $_statbar.mode list insert end MIXED
      $_statbar.mode list insert end SRC+ASM
 
 + # Workaround: the three comboboxes above sometimes display with height
 + # of one pixel. Insert a (invisible) frame with the required height
 + # fixes this...
 +
 +   frame $_statbar.strut -height 24 -width 10
 +
      pack $_statbar.mode -side right -padx 10 -pady 4
 !   pack $_statbar.name $_statbar.func $_statbar.strut -side left -pady 
 4 -padx 10
 
      # if user likes control on top...
      if {[pref get gdb/src/top_control]} {
 *** srcwin.itb.orig     Thu Jul 14 09:35:17 2005
 --- srcwin.itb  Thu Jul 14 09:40:33 2005
 ***************
 *** 106,113 ****
      $_statbar.mode list insert end MIXED
      $_statbar.mode list insert end SRC+ASM
 
      pack $_statbar.mode -side right -padx 10 -pady 4
 !   pack $_statbar.name $_statbar.func -side left -pady 4 -padx 10
 
      # if user likes control on top...
      if {[pref get gdb/src/top_control]} {
 --- 106,119 ----
      $_statbar.mode list insert end MIXED
      $_statbar.mode list insert end SRC+ASM
 
 + # Workaround: the three comboboxes above sometimes display with height
 + # of one pixel. Insert a (invisible) frame with the required height
 + # fixes this...
 +
 +   frame $_statbar.strut -height 24 -width 10
 +
      pack $_statbar.mode -side right -padx 10 -pady 4
 !   pack $_statbar.name $_statbar.func $_statbar.strut -side left -pady 
 4 -padx 10
 
      # if user likes control on top...
      if {[pref get gdb/src/top_control]} {
 There is a simple workaround for those who am annoyed by this: inserting 
 a (invisible) frame with the required height into the row of comboboxes
 avoids this. Here is a patch for srcwin.itb (relative to 6.1) which does 
 this:
 
 *** srcwin.itb.orig     Thu Jul 14 09:35:17 2005
 --- srcwin.itb  Thu Jul 14 09:40:33 2005
 ***************
 *** 106,113 ****
      $_statbar.mode list insert end MIXED
      $_statbar.mode list insert end SRC+ASM
 
      pack $_statbar.mode -side right -padx 10 -pady 4
 !   pack $_statbar.name $_statbar.func -side left -pady 4 -padx 10
 
      # if user likes control on top...
      if {[pref get gdb/src/top_control]} {
 --- 106,119 ----
      $_statbar.mode list insert end MIXED
      $_statbar.mode list insert end SRC+ASM
 
 + # Workaround: the three comboboxes above sometimes display with height
 + # of one pixel. Insert a (invisible) frame with the required height
 + # fixes this...
 +
 +   frame $_statbar.strut -height 24 -width 10
 +
      pack $_statbar.mode -side right -padx 10 -pady 4
 !   pack $_statbar.name $_statbar.func $_statbar.strut -side left -pady 
 4 -padx 10
 
      # if user likes control on top...
      if {[pref get gdb/src/top_control]} {
 
 
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]