I am trying to have a set frame size so I can place my widgets where I like them but the frame only seems to give me my dimensions when I comment out the widgets.
Just a heads up I am teaching myself all of this for work.
Tuck
Just a heads up I am teaching myself all of this for work.
from tkinter import * import openpyxl from PIL import ImageTk, Image wb = openpyxl.load_workbook('test.xlsx') ws = wb['Customer'] ws1 = wb['Invoice'] d = ws['D8'].value rnginv = ws1['AA4'].value root = Tk() frame = Frame(width=1350, height=900) frame.pack() photo = ImageTk.PhotoImage(Image.open('DelusionalDesignslogo2.png')) logo = Label(frame, image=photo) logo.pack() titleA = Label(frame, text=d) titleA.pack() labelrinv = Label(frame, text=rnginv) labelrinv.pack() root.wm_title('Delusion Designs CNC Invoice Program v1.0') root.mainloop()Thanks for any help I get.
Tuck