#9 Make the editor look nicer at larger window sizes

Closed
opened 6 years ago by matt · 3 comments
matt commented 6 years ago

In the same way the web editor keeps the width of the text constrained with plenty of space on the sides, it would be nice to do this in the GTK app -- especially as the window grows in width beyond 800 pixels.

In the same way the web editor keeps the width of the text constrained with plenty of space on the sides, it would be nice to do this in the GTK app -- especially as the window grows in width beyond 800 pixels.
adrian commented 6 years ago
Collaborator

The documentation claims that percentages are supported, but when I attempt to use those it just makes the styling worse. And I believe you’ve experienced similar issues.

At the same time it’s always possible to manually calculate the paddings, but that would take a bit of effort I don’t have time for right now.

The [documentation](https://developer.gnome.org/gtk3/stable/chap-css-properties.html) claims that percentages are supported, but when I attempt to use those it just makes the styling worse. And I believe you've experienced similar issues. At the same time it's always possible to manually calculate the paddings, but that would take a bit of effort I don't have time for right now.
matt added the
high priority
label 5 years ago
adrian closed this issue 5 years ago
adrian commented 5 years ago
Collaborator

Woops, closed wrong one.

Woops, closed wrong one.
adrian reopened this issue 5 years ago
adrian commented 5 years ago
Collaborator

Fixed this by manually computing the padding and recomputing it upon resize.

Fixed this by manually computing the padding and recomputing it upon resize.
adrian closed this issue 5 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.