Castor doesn't scale well on screens with small width after the last commit which introduced a forward button. The top bar is too wide for fitting a URL bar and 4 buttons.
I think it could be solved by moving the URL bar to a new row below the buttons if the width is too small.
Screenshot from a Pinephone: https://ttm.sh/hbJ.png
I played with the glade file a bit and created a layout suitable for mobile phones. For actually contributing this change, I would need to detect the size change in rust and programatically change the layout. I will leave this to someone else because I don't know rust well enough.
patches: https://ttm.sh/hwC.patch, https://ttm.sh/hwR.patch screenshot: https://ttm.sh/hwY.png
For actually contributing this change, I would need to detect the size change in rust and programatically change the layout.
Is there no flexbox equivalent for GTK+? If there is, the menu bar should just use that.