Python Forum
[Tkinter] Horizontal extension of widgets + frame size adapted to content
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Horizontal extension of widgets + frame size adapted to content
#4
You don't need, nor even want, to use a canvas to scroll the tree. This will have the undesired effect of scrolling the column headers so they are not always visible. The tree widget knows how to work with a scroll bar. When you hook the scrollbar directly to the tree widget, moving the scrollbar only moves the column values. The headers remain visible at the top. I think this is what happens in menator's program.
Reply


Messages In This Thread
RE: Horizontal extension of widgets + frame size adapted to content - by deanhystad - Feb-22-2024, 06:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] using different frame for some widgets rwahdan 1 2,416 Jul-13-2021, 08:32 AM
Last Post: Yoriz
  [Tkinter] Trying to change font size w/o changing button size python63 3 9,951 Aug-05-2020, 01:04 AM
Last Post: Larz60+
  [PyQt] Help: check content of combobox in horizontal header of QTableWidget mart79 1 3,418 Jul-26-2020, 06:18 PM
Last Post: deanhystad
  [Tkinter] Scrollbar, Frame and size of Frame Maksim 2 9,120 Sep-30-2019, 07:30 AM
Last Post: Maksim
  Require scroll bars horizontal and vertical throughout the window tejgandhi 2 2,743 Jun-28-2019, 03:13 AM
Last Post: tejgandhi
  [Tkinter] create and insert a new frame on top of another frame atlass218 4 11,277 Apr-18-2019, 05:36 PM
Last Post: atlass218
  [Tkinter] Treeview automatically adjust it's size when pack inside frame Prince_Bhatia 1 28,024 Jul-25-2018, 03:24 AM
Last Post: Larz60+
  [Tkinter] Frame size only works if frame is empty(Solved) Tuck12173 7 6,549 Jan-29-2018, 10:44 PM
Last Post: Larz60+
  PyGtk3 why is Locale Folder Size Half of Module Size ? harun2525 1 3,664 Mar-09-2017, 03:46 AM
Last Post: Analyser

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020