Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 [Tkinter] Adding space between Notebook tabs
#5
Here is my code for the Notebook and tabs.


tab_control = ttk.Notebook(root)
tab1 = ttk.Frame(tab_control)
tab2 = ttk.Frame(tab_control)
tab_control.add(tab1, text='Dinosaur Picture')
tab_control.add(tab2, text='Size Comparison')
lbl1_image=PhotoImage(file='Anatotitan.gif')
lbl1=Label(tab1, image=lbl1_image, bd=1)
lbl1.grid(column=0, row=0)
lbl2_image=PhotoImage(file='Anatotitan_size.gif')
lbl2=Label(tab2, image=lbl2_image, bd=1)
lbl1.grid(column=0, row=0)
lbl2.grid(column=0, row=0)
tab_control.place(x=890 , y=220)

Quote

Top Page

Messages In This Thread
Adding space between Notebook tabs - by Columbo - Jul-09-2019, 05:30 AM
RE: Adding space between Notebook tabs - by Larz60+ - Jul-09-2019, 03:46 PM
RE: Adding space between Notebook tabs - by Columbo - Jul-09-2019, 04:35 PM
RE: Adding space between Notebook tabs - by woooee - Jul-09-2019, 05:17 PM
RE: Adding space between Notebook tabs - by Columbo - Jul-10-2019, 10:46 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Pygobject Menu And Notebook? loss 0 127 Jun-29-2019, 12:49 PM
Last Post: loss
  The PMW Notebook Widget MattSA 6 415 Jun-03-2019, 07:24 PM
Last Post: Larz60+
  [WxPython] Adding a Window to a Button wxPython ShashankDS 4 328 Apr-23-2019, 06:53 PM
Last Post: Yoriz
  tkinter- adding a new window after clicking a button built on the gui ShashankDS 2 302 Apr-18-2019, 12:48 PM
Last Post: ShashankDS
  [Tkinter] How to get a tabs works exactly same as google chrome sarthak260 0 289 Mar-07-2019, 10:45 AM
Last Post: sarthak260
  [Tkinter] Select All text without space on the righthand side Vicolas 1 283 Feb-28-2019, 06:49 PM
Last Post: Larz60+
  [WxPython] how to reopen a closed tab of wx.aui.Notebook? royer14 2 301 Feb-18-2019, 12:31 AM
Last Post: royer14
  [Tkinter] Adding New TAB to NoteBook Widget by Clicking Vicolas 0 281 Feb-15-2019, 06:03 PM
Last Post: Vicolas
  Adding timer on the Messagebox aniyanetworks 6 685 Feb-13-2019, 07:48 PM
Last Post: aniyanetworks
  Adding Progressbar to button aniyanetworks 9 1,001 Feb-07-2019, 11:12 AM
Last Post: Larz60+

Forum Jump:


Users browsing this thread: 1 Guest(s)