From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9936 invoked by alias); 14 Jul 2005 07:53:01 -0000 Mailing-List: contact insight-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sourceware.org Received: (qmail 9921 invoked by uid 71); 14 Jul 2005 07:53:00 -0000 Date: Thu, 14 Jul 2005 07:53:00 -0000 Message-ID: <20050714075300.9920.qmail@sourceware.org> To: nobody@sources.redhat.com Cc: insight-prs@sources.redhat.com, From: Ruppert Subject: Re: insight/253: File Selector, Source Function Selector and display mode selector listboxs not visible at startup Reply-To: Ruppert X-SW-Source: 2005-q3/txt/msg00000.txt.bz2 List-Id: The following reply was made to PR insight/253; it has been noted by GNATS. From: Ruppert 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]} {