18:36
This sounds weird to me, any idea why the button2 does not take up all the space of frame2? It should be working fine
#!/usr/bin/python3 import tkinter as tk from tkinter import ttk root = tk.Tk() root.geometry("300x200") style = ttk.Style() mainframe = ttk.Frame(root) labelframe = ttk.Labelframe(mainframe) # Belonging to labelframe frame = ttk.Frame(labelframe) frame2 = ttk.Frame(labelframe, style="debug.TFrame") # Belonging to frame label = ttk.Label(frame, text="Lorem ipsum dolor sit amet") button = ttk.Button(frame, text="Button") # Belonging to frame2 button2 = ttk.Button(frame2, text="Button2") mainframe.grid()
« first day (238 days earlier) ← previous day next day → last day (515 days later) »