googlefonts / fontra

A browser-based font editor
https://fontra.xyz
GNU General Public License v3.0
510 stars 21 forks source link

Sidebar and tab issue #843

Open navv-1 opened 1 year ago

navv-1 commented 1 year ago

Please see the gif below jUUYRMQQ1P

What if like this? ts1rEOkYjX

justvanrossum commented 1 year ago

I would like that, if the other sidebar would get narrower, instead of having the whole page scroll.

fatih-erikli commented 1 year ago

It looks like an improvement worth to spend time on it.

BlackFoundry commented 1 year ago

what about simply stopping the side bars expansion a bit before they reach half of the window size? (and keep the relation when the window is being resized horizontally)

justvanrossum commented 1 year ago

Yeah, the sidebar should not be allowed to get wider and push the other one away.

Currently, if there isn't enough space while resizing, the sidebars are made narrower (to their minimum width), but it could go step further if there still isn't enough space: hide it (as if the user hides it).

Unhiding one when the other one is shown could hide the other if there isn't enough space.

Plenty of edge cases here.