This is the mail archive of the insight@sourceware.org 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: Source mode, function selector and file selector : display pb


Hi,

>
>wilfried.fauvel@laposte.net wrote:
>> I have a little problem with Insight (cygwin win32), when I start it, I
>> have to resize the window to view the Source mode, function selector and
>> file selector (under the icons bar). Is there any tips to fix that ?
>
>That's been a problem since the version of about 18 February 2003.  The only
>workaround I know of is to slightly adjust the window size.  Then the missing
>strip will pop into view.


this is in the bug database as PR 253. I added a workaround description
to this PR some time ago, which unfortunately was a bit garbled. I reproduce
the relevant lines below.

HTH.

Regards
Dieter R.

 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]