mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-07 18:03:32 +00:00
Position Panel Above Text sizes the Tabs panel so its ruler spans the text at the canvas zoom. A floating panel is at least 220 pt wide, so for narrow text at a low zoom the panel comes out wider than asked, and the ruler stretched the text's width across the whole panel. Its marks then no longer sat over the text. After Above Text, while the same text in the same document is selected and the panel floats no wider than the narrowest panel, the ruler now draws the text at its screen scale and runs on past the text's width. Any other ruler fits the span to its width as before.