Questions tagged [tkinter-layout]
378 questions
1
vote
1 answer
Tkinter Canvas text entry field positioning
I got a canvas field and need a text input box, but I don't find a working solution.
There is an entry field now but center North and I need this entry field on the left site and i don't know how to position this entry field.
GUI =…

Victor Vincent
- 15
- 9
1
vote
1 answer
Tkinter Treeview Runs off Main Window
I am trying to create a Treeview with a variable number of columns that allows for horizontal scrolling when the number of columns makes the TreeView wider than the main window. Right now I have both a vertical and horizontal scrollbar implemented.…

Jacob
- 91
- 1
- 5
1
vote
1 answer
How to align label, entry in tkinter
I am really frustrated, trying to align a label and entry buttons in tkinter.
I wanted to create a GUI like below
The above page developed using page tool. I written a code to get the same kind of page, but it has lot of misalignment.
from…

velpandian
- 431
- 4
- 11
- 23
1
vote
0 answers
How to change the window border colour in tkinter in windows
from Tkinter import *
root = Tk()
def printt(self):
repair = Tk()
repairwindow = Frame(repair, bg='white', width=800, height=800)
repairwindow.pack(expand=True, fill='both', side='right')
repair.mainloop()
mainarea =…

Tejas Shaha
- 13
- 3
1
vote
1 answer
Tkinter resizing frames inside frame
In python, I am using the tkinter module in order to create a login screen. It is fully functioning with all the widgets in the correct places, but the only problem being is that when I drag the screen out larger, the widget's sizes don't increase…

Crawley
- 600
- 2
- 8
- 15
1
vote
1 answer
How do you position widgets with grid layouts in tkinter
I'm having an extremely difficult time understanding Python grid layouts with tkinter. Here is a layout I'm trying to understand how to create.
From what I understand I would create 8 frames. The top frame would include the top 3 frames and would…

Vincent Jenkins
- 57
- 2
- 9
1
vote
1 answer
How to resize TkInter labels absolute size instead additional space with Grid gemetry manager
I am trying to make my TkInter application resizable, and I am having some troubles achieving the desired layout. Specifically I have some labels that I would like to take up equal amounts of horizontal space, which I would think could be done with…

Halcyon
- 53
- 8
1
vote
1 answer
Resizing in a grid manager tkinter
Using tkinter, I wanted to make an interface containing a few buttons on the left, which would be fairly static and align with the widgets on the right fairly nicely.
On the right, I wanted an Entry widget above a Text widget, both of which would…

ShuckleShackle
- 97
- 1
- 2
- 7
0
votes
1 answer
How do I resize placed tkinter widgets when the window is resized using .place() only?
I don't know if it's a duplicate question or not but I really want to be able to resize placed tkinter widgets when window is resized using .place() only. I know that I can use .grid() for this but to me grid() is confusing, place() seems easy…

AshwinTheGammer
- 7
- 4
0
votes
0 answers
Display the values of a dataframe (Python), in a frame of a tkinter interface; without giving the possibility to the user to click on it
Good morning,
I'm trying to get the following image (representation of a Pandas dataframe in the frame of a tkinter--> interface without the possibility of user input): [display tkinter] --->enter image description here,
from a dataframe I made…

karl
- 1
- 2
0
votes
1 answer
Why does a frame not have an evenly distributed grid to the interface
I want to navigate through different pages(frames) on my TKinter interface using buttons. First I need a grid that is evenly distributed over the interface so that I can place widgets accordingly on the frame.
To do this I wrote the following…

Robert
- 53
- 7
0
votes
0 answers
How to create a half transparent window in tkinter python
Here green part of images indicating the transparent part.
Now I want to create a same type of window in tkinter. The main window is divided into two vertical boxes. Right box is fully transparent and left box have some tkinter widgets. The main…
0
votes
1 answer
Tkinter Frame won't fill remaining space
I am just trying to make the green frame fill the remaining empty space of a window, but I can only get it to fill the bottom half no matter what I do.
Screenshot
Here is my code:
from tkinter import *
class CredsWindow:
def __init__(self,…

sandwichwasher
- 11
- 3
0
votes
0 answers
Contents not displaying in Tkinter frame within canvas
I have labels within a frame. That frame is embedded within a canvas that's set in a frame so that I could use a scrollbar. Prior to successfully setting up the frame-canvas-frame layout, my labels showed. Now the frame has no contents.
Here's what…

Tyler Bishop
- 1
- 2
0
votes
1 answer
Issue with Hiding and Showing Sidebar in Tkinter NotepadApp
Description:
I'm currently working on a NotepadApp using Tkinter, where I have implemented a sidebar with buttons for common functions like "New," "Open," and "Save." Additionally, there are radio buttons to switch between light and dark themes. The…

Lusifer-Stark
- 1
- 3