Repository navigation
Replies: 1 comment
|
@yoerin thank you, good catch, and the screenshots show it well. I'd rather not use the first way: a panel taller than the area could then no longer be moved down at all, and moving it down to see the shape is what it's for. The second one only helps at the next opening. How about a third: tool panels can still be dragged down, but only so far that the title bar, a few rows and the footer with Cancel and Apply stay visible, both while dragging and when a panel opens at the remembered spot. A PR for that would be very welcome. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
On a tablet I often drag a tool panel (Fillet edges, Hollow body, Split, ...) down to see the shape behind it. Dragged far enough, the panel shrinks to its title bar:
useMovablePanellets the panel go down until 48 px of it are left in the area (PANEL_GRAB_HEIGHT), and itsmaxHeightfollows down to that same 48 px. Cancel and Apply are then cut off at the bottom edge.The spot is shared: every panel built on
MovableToolPaneluseslayerling.editor.toolPanelPosition. So the next tool opens down there as well, as a strip of one line. Measured in 1.175.0 at 1024 × 768: after dragging Fillet edges down and closing it, Hollow body opened 54 px high with 1930 px of content behind a scroll bar, and it lay over the shape inspector.Screenshots: Fillet edges after the drag, and Hollow body opened afterwards.
You can get it back by dragging the title bar up or double-clicking it, but on a touch screen the double click is not obvious, and a strip with a title only does not look like something you can drag.
Two ways I can think of:
keepInside: true. That is one line inTOOL_PANELinMovableToolPanel.tsx. A panel taller than the area would then stand at the top and scroll, as it does now when docked.In our fork the tool panels we added ourselves have used the first one since 20 November, on a tablet and on desktop, without problems; the panels from upstream we left as they are. Would either fit how you want the panels to behave? I'm happy to open a PR for whichever you prefer.
All reactions