It is only a simple question but shouldn't a label stay inside of it's nested frame when you use sticky ? In my code it only stays in the parent frame. If it is normal do you have a solution ?
I have tried looking the documentation but I didn't find anything which could help.
from tkinter import *
from tkinter import ttk
root = Tk()
root.title("Tk test")
root.geometry("800x800")
frame_1 = ttk.Frame(root, relief="sunken", height="400", width="400").grid(row=0, column=0, rowspan=1, columnspan=1)
frame_2 = ttk.Frame(frame_1, relief="sunken", height="200", width="200").grid(row=0, column=0, rowspan=1, columnspan=1)
label_1 = ttk.Label(frame_2, text="Text").grid(row=0, column=0, sticky="N, E")
root.mainloop()
Expected result : The label stays inside of it's frame which is nested inside the parent frame. Actual results : It only stays inside the parent frame