Menu

#9 Preferences Text Window Size not honoured

closed-fixed
nobody
5
2004-03-17
2004-01-14
No

Using tkdiff 4.0.b2, I notice that in the
Preferences -> General -> Text Window Size
the width is not honoured. My widthxheight = 100x40. If
I have a files which has a line 100 characters long, I
only see 93 of those characters, not 100.

(With tkdiff 3.09 I see 99 characters.)

It seems that widths of > 93 are not honoured, the
width stays at 93.

The text height seems to be honoured OK.

I am using tkdiff on HP-UX Unix.

Discussion

  • DorothyR

    DorothyR - 2004-03-08

    Logged In: YES
    user_id=18012

    With a width of 93, how much of the available screen width
    does tkdiff take up? It knows enough to not make itself
    wider than the screen, but if it's leaving much space it's
    doing something wrong.

    dorothy

     
  • David J. Green

    David J. Green - 2004-03-08
     
  • David J. Green

    David J. Green - 2004-03-08

    Logged In: YES
    user_id=945556

    Dorothy,
    There is plenty of room left on the screen. I have attached a
    screen shot with a tkdiff size of 93x40.
    David.

     
  • David J. Green

    David J. Green - 2004-03-08

    Logged In: YES
    user_id=945556

    Dorothy,
    There is plenty of room left on the screen. I have attached a
    screen shot with a tkdiff size of 93x40.
    David.

     
  • David J. Green

    David J. Green - 2004-03-08
     
  • DorothyR

    DorothyR - 2004-03-15

    Logged In: YES
    user_id=18012

    I can't duplicate this at all. I have to use an 8-point
    font to get it so 100 characters fit in the screen, but I
    get all of them. What font is that you're using? I wonder
    if the font metric is messed up.

    On HP, did you have to change LightGreen to something else
    to get tkdiff to run? I do on the HPUX machines here.

     
  • David J. Green

    David J. Green - 2004-03-16

    Logged In: YES
    user_id=945556

    Dorothy,
    I did have to change the colour LightGreen to PaleGreen for
    the HP:
    dg> unzip -p tkdiff.zip | diff - tkdiff
    4c4
    < exec wish "$5" -- ${1+"$@"}
    ---
    > exec wish8.3 "$5" -- ${1+"$@"}
    282c282
    < set colorins LightGreen
    ---
    > set colorins PaleGreen

    I use a 6x13 font. I am attaching my ~/.tkdiff rc file so that
    you can see all the options that I am using.
    David.

     
  • David J. Green

    David J. Green - 2004-03-16
     
  • DorothyR

    DorothyR - 2004-03-17
    • status: open --> closed
     
  • DorothyR

    DorothyR - 2004-03-17

    Logged In: YES
    user_id=18012

    I think I fixed it. It was calculating 2x too much space
    for the scrollbars etc. when it figured out how much it can
    grow before being wider than the display.

     
  • DorothyR

    DorothyR - 2004-03-17
    • status: closed --> closed-fixed
     

Log in to post a comment.