Skip to main content

All Questions

Tagged with
0 votes
0 answers
67 views

Pyqt5 layouts: How to arrange all checkboxes

I'm starting to get a little bit of a handle on layouts, because I didn't initially create one. I have three layouts: header_layout (there's a button for the tools menu, a header, and a button for ...
панимаю's user avatar
0 votes
0 answers
7 views

Urwid ListBox size to space available instead of constant

My program is split into 4 sections. One section is a constant-size section of various widgets, and the other 3 are list boxes. If I set rows to 15, on this screen size, the program will crash. Also, ...
Doot's user avatar
  • 745
0 votes
1 answer
83 views

Tkinter Text widget width doesn't match combined width of two Button widgets despite proportional calculations

I'm creating a Tkinter GUI where I want a black Text widget (message_entry) to be exactly the same width as the combined width of two horizontally placed buttons. I’m using proportions of the screen ...
user29255210's user avatar
1 vote
2 answers
349 views

centering the bottom row of subplots in a matplotlib grid

If I have 5 plots I want to present, is it possible to have them in 2 rows, with the top row having 3 plots, the bottom row having 2 plots, but the bottom row centred? I can plot them with 3 on the ...
guskenny83's user avatar
  • 1,373
0 votes
0 answers
78 views

Dynamic positioning of checkboxes next to chart legend in Plotly Dash

I am currently creating a dashboard with Plotly Dash in Python and have a layout problem that I just couldn't fix over the last couple days: I have a bar chart with a metric, that is always shown and ...
Nimant's user avatar
  • 1
0 votes
1 answer
233 views

gdstk Boolean too slow but works fast in Klayout?

I am trying to cut out several holes in a rectangle. When I do this in Klayout using "Subtract others from first", the result is computed almost instantly. However, when I try to do it using ...
Shrinivas Ganti's user avatar
2 votes
1 answer
182 views

PyQt6 - How can I expand a field in a QFormLayout

I would like to expand the combobox field in a form layout, but I just can't seem to find the right combination of spells to achieve this. Specific documentation on practical layout management seems a ...
pete's user avatar
  • 41
0 votes
1 answer
143 views

Align cards in single row within app layout - plotly dash

I'm trying to fit all cards across the same row with an app layout. No matter the configuration, a card drops down a row (see below). I'd like all 7 cards to be within the same row and keep each card ...
Chopin's user avatar
  • 224
0 votes
0 answers
102 views

Pyside6 qt designer QpushButton icon align

I'm having a problem with aligning the icon inside the button in rtl layout the layout is set to RTL i add this stylesheet #side_bar QPushButton{ text-align: right; } without an icon the text-align ...
B.oualid's user avatar
0 votes
0 answers
56 views

PyQT5 sizing issue with QTableView and QGridLayout

I built a GUI program that has outputs on single line tables, and I recently updated it using QGridLayout to make it dynamically adjust to different system scalings. The issue I'm having is the pandas ...
Tom's user avatar
  • 1
0 votes
1 answer
290 views

PyQT5/QTDesigner - I'm getting a "This file contains top level spacers" error when there are no spacers and I have layouts [closed]

The error displays even when there are no spacers in the design. The object class viewer is on the left for reference, but there are no spacers in the file. I used a spacer previously but removed it. ...
Kyle Davis's user avatar
1 vote
3 answers
126 views

Limited decoration margin in "constrained" layout?

I want to understand the decoration space limits of the "constrained" layout engine of Matplotlib. In my use case, I have to add a lot of decoration (such as different axes ticks and labels) ...
matheburg's user avatar
  • 2,180
0 votes
1 answer
242 views

How can I arrange several plots using ipywidgets?

Question. How can I make a grid (or other similar layout) out of matplotlib plots using ipywidgets? Description of my attempt. I want to have two plots, each of witch is on separate matplotlib figure. ...
Alex Alex's user avatar
  • 261
0 votes
1 answer
57 views

How to create an "entity" composed of drawing shapes, labels and buttons with relative sizing and positioning in Kivy?

I am new to Python and Kivy. I am trying to create the display of a temperature controller (called PID). The PID is composed of: A light grey rectangle background; A black rectangle display in the ...
PetitFroggie's user avatar
-1 votes
2 answers
2k views

How to update a full layout in Flet

In the code below, i created a Flet app in which the two text controls should update their number based on the amount of clicks on the button. Why is this not happening? A little bit of background: ...
Janeau's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
32