问题点:设置tab页面的大小
import tkinter as tk
from tkinter import ttk
root = tk.Tk()
notebook = ttk.Notebook(root, width=300, height=200)
notebook.pack(fill='both', expand=True)
tab1 = tk.Frame(notebook, bg='white', width=300, height=200)
notebook.add(tab1, text='Tab 1')