vlachoudis / bCNC

GRBL CNC command sender, autoleveler and g-code editor
GNU General Public License v2.0
1.54k stars 528 forks source link

gcode is displayed in a small scrollable frame. #1885

Open Git-Bruno opened 2 months ago

Git-Bruno commented 2 months ago

The frame showing the gcode is a small scrollable frame that cannot be enlarged to occupy the entire frame at the left of the bCNC window. This is with the last master branch, code dated Apr,22,2024. bCNC_gcode_window

Harvie commented 2 months ago

Thanks for noticing this. i did not. wonder which commit had introduced it...

Git-Bruno commented 2 months ago

This was introduced on Fev 09 by PR#1849, Vertical scrollbar to make small screens easier to use. bmain.py was changed to use VScrollFrame.py. If I replace bmain.py with a copy not using VScrollFrame.py then the gcode fills the entire left frame. I tested previous versions and the left frame in the Editor page was already scrollable by default. To me the code introduced by PR#1849 should either not apply when in the Editor page or , for all pages, always adapt the size of the left frame to the screen size and make it scrollable when the content cannot fit in the frame.