~julienxx/Castor#28: 
Scaling for screens with small width

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

Status
REPORTED
Submitter
Paper
Assigned to
No-one
Submitted
4 years ago
Updated
3 years ago
Labels
No labels applied.

Paper 4 years ago ยท edit

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

~raingloom 3 years ago

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.

Register here or Log in to comment, or comment via email.