Relative Content

Tag Archive for python-3.xtkinterttkbootstrap

How do I convert my ttkbootstrap app code that uses external csv files to a regular app?

I have a app that I created using pycharm. I used ttkbootstrap to create the app and I want to know how I can convert that to a regular app. Here is a picture of how my project is organized below. I tried to learn on youtube but I couldn’t understand anything. If anyone could help or lead me in the right direction that would be helpful. I’m using windows.

How do properly position my widgets relative to each other and the center of the window with tkinter?

So I am having trouble creating a GUI that can dynamically adjust to the size of my window. What’s going on is that one, I want my widgets to scale automatically with the width of my window. I also want it so stop scaling when it gets to big, or too small. Number 2 is I want to know how I can position each of my widgets to have a location relative to the size of the screen so it can quickly adjust to different window sizes. What I mean by this is I want to have each widget be in the same location relative to a certain point or sets of points on the window. Like for example there will be a point at the center of the screen and the widget will generally stay there, or the corner, side, etc. I was also wondering if I could also position widgets relative to each other as well.