(Sorry for the video quality, my power connection decided to break, and my laptop was operating on battery)

This is a tutorial about using Packs to improve the layout of the example calculator app in the fltk-rs repo.
Previously, the layout was done naively, currently it uses a horizontal and vertical packs to achieve something similar to a grid layout.

P.S. Adding shortcuts was changed to a bitor operation since it’s what FLTK expects.
The updated code was pushed to the repo.

#rust

FLTK Rust tutorial: Layouts
3.80 GEEK