Menu

How to increase tkdiff default window width ?

Help
2025-05-13
2025-05-14
  • Skeet Monker

    Skeet Monker - 2025-05-13

    Love tkdiff !! The best visual diff'ing tool I have found.

    By default, tkdiff opens in a window that is about 75% the width of my screen.
    Each time I manually stretch the window to widen it to about 98% - 100% width.
    Is there a preference setting, or command option, to change the default window width ?

    Is there a line in the tkdiff script which could be edited to expand the default window width ?

    Thanks much!

     
  • DorothyR

    DorothyR - 2025-05-14

    In Edit->Preferences-General there's a Text Window Size setting. It doesn't appear do do anything on Apply, but if you Save and then restart it will be used next time.

     
  • michael-m

    michael-m - 2025-05-14

    Dorothy is correct. The preference in question is on the 'General' tab of the Preferences dialog window and labeled 'Text window size' expressed in a WidthxHeight format. As the windows are side by side, that means the width of the TOOL is actually computed as TWICE the requested width (plus all the other things like scrollbars, etc). Furthermore, on the 'Appearance' tab, another preference (Text widget options) allows you to specify the FONT those text windows should USE, and is the base unit of screen real-estate to which the "widthXheight" REALLY refers! Thus bigger font, bigger screensize. Note that (as explained in the online help, which I strongly recommend reading), the ACTUAL size on startup uses this value if it can, subject to exceeding the screen size, which acts as a limit DURING STARTUP ONLY. After its up and running, as you have observed, you can resize it bigger/smaller as you see fit.
    BUT - we are happy you are pleased with our efforts in providing the tool, Thanks!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.