Category : tkinter-layout

Browse Button in Right Hand side Panel is being separated when resizing the window. I want the whole thing to stay together and resizing equally. import tkinter as tk from tkinter import ttk from tkinter import * class AppLayout(tk.Tk): def __init__(self): tk.Tk.__init__(self) self.masterPane = tk.PanedWindow(self ) self.leftPane = tk.Frame(self.masterPane,relief = ‘raised’,bg=’black’,width =100) self.masterPane.add(self.leftPane) self.rightPane = ..

Read more

I am trying to create the following layout: This is my code: from . import FlowPane,JsonPane,PropertiesPane,ToolbarPane import tkinter as tk class ConflixEditor(tk.Tk): def __init__(self, args): super().__init__() self.__dict__.update({k: v for k, v in locals().items() if k != ‘self’}) self.minsize(width=1024, height=768) self.title(‘Conflix Editor’) # Widget Creation self.frame = tk.Frame(self) self.toolbarPane = ToolbarPane.ToolbarPane(self.frame, bg=’black’) self.flowPane = FlowPane.FlowPane(self.frame, bg=’red’) ..

Read more