1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed TCMD tab horizontal scroll bar

Discussion in 'Support' started by vefatica, Oct 28, 2013.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,076
    Likes Received:
    30
    TCMD is configured not to show the folder and list views. When I start it, there are 100 columns in the TCC tab, there is no horizontal scrol bar, and lines wrap at 100 characters (all's well).

    If I choose View\Folder and List Views, those views appear, the tab window shrinks to 75 columns, wrapping happens after 80 characters (making 5 characters outside the visible portion of the tab window), and no horizontal scroll bar appears.

    If I then View\Folder and List Views again, those views disappear, the tab window goes back to 100 columns and wrapping works correctly again. But now there's a (useless) horizontal scroll bar.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,040
    Likes Received:
    84
    I think you probably want to be using autohide for the Folder and List views. (That won't affect your existing tab window size.) Resizing your console windows is generally bad for existing windows, as it's not possible to resize them without either destroying their contents or truncating the lines.
     
    #2 rconn, Oct 29, 2013
    Last edited: Oct 29, 2013
  3. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,040
    Likes Received:
    84
    The part about not showing the scrollbar when you shrink the window is a bug in the framework library; I will fix that for the next build. (You're only supposed to get a horizontal scrollbar when you resize < 80 characters, which is the minimum console size.)

    The part about having the useless scrollbar when you increase the size is WAD, as (1) if you did it once you're apt to do it again, and (2) it really mucks up displaying existing content when you keep adding & taking away the rows.
     
  4. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,040
    Likes Received:
    84
    Also, note that if you have splitter windows enabled, you'll always have a horizontal scrollbar. (Which won't do anything until you split a window.)
     
  5. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,076
    Likes Received:
    30
    It's TCMD that's resizing them, not me.
     
  6. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,040
    Likes Received:
    84
    If you use autohide, nobody will be resizing them!
     

Share This Page