albertaloop / T_SWE_2022_2023

Software for AlbertaLoop's first-generation pod.
MIT License
3 stars 0 forks source link

Modify GUI layout to use relative positioning and automatic resizing #20

Open Iyury1 opened 1 year ago

Iyury1 commented 1 year ago

All widgets in our GUI are using absolute positioning. Because of this, the widgets will not move when we resize the Main Window, and they will not resize with the window. This is now a problem because we want to make more room for our tables and potentially our battery health indicators.

image

At a minimum we want the tables to automatically resize to occupy the entire right hand portion of the Main Window. The remaining widgets do not need to automatically resize, but they should also use relative positioning so there is no unused space when resizing the Main Window.

The state labels and command buttons may be kept together in a single frame if this makes the task easier.

Later we will change the connection status area to display the status for each socket connection, as well as buttons for establishing connection for each socket. We can wait a short time before implementing this because we still haven't determined if the health check request will need its own socket, so we do not know if the number of sockets will be 2 or 3.

Acceptance Criteria