~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
1 year, 2 months ago
Updated
a month ago
Labels
No labels applied.

Paper 1 year, 2 months 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 a month 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.