saikyun / freja

Self-modifiable editor for coding graphical things
66 stars 2 forks source link

UI: vertical spacing in a few places #59

Open sogaiu opened 2 years ago

sogaiu commented 2 years ago

In a few locations the vertical spacing(?) of text seems a bit off.

One such location is related to "search":

vertical-spacing-of-text-in-search-and-other

Here there are a couple of places that seem affected:

Specifically, the space above the text seems less than the space below -- i.e. the distance from the top of the text to the top edge seems less than it should be compared to the corresponding distance from the bottom of the text to the bottom edge.

A similar thing seems to be the case for the analogous UI elements for "Evaluate Expression" and "File Open". Possibly some relevant code is here: https://github.com/saikyun/freja/blob/88b904b04f296cb3f0a3e1c48650d1ef35ee4deb/freja/editor.janet#L225-L262