#4340 closed enhancement (fixed)
OMEdit: extend vertical space in Diagram View to e.g. investigate connectors thoroughly
Reported by: | Jan Kokert | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | normal | Milestone: | 1.12.0 |
Component: | OMEdit | Version: | |
Keywords: | Diagram View extend vertical space | Cc: |
Description
If a model is opened in the Diagram View and one zooms in so that the vertical scrollbar on the right is enabled, it is NOT possible to scroll to the very top and bottom in a way to clearly see the actual outline of the model.
As the outline lies exactly on the view port of that window one has the feeling, that the model has no border on top and bottom. This becomes distracting if you e.g. want to exactly place a connector on the outline.
My personal feeling is just: "I want to scroll up/down a little bit more!". So I suggest to add a space of 1/10 of the model height to the top and bottom. Then it is possible to fully see connectors even on a close zoom level.
Related to this use case (investigated connectors at the edge of the model) is the pan feature (with the mouse) as described in #4308.
Change History (5)
follow-up: 2 comment:1 by , 8 years ago
Milestone: | Future → 1.12.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 8 years ago
Replying to adeas31:
I made the actual drawing area 3 times larger than the actual size. d48d23a/OMEdit.
Is this what we wanted?
janK (correctly IMO) asked just a little more space to see what is outside the model. Isn't thrice the space too much? cannot this way one "loose" the model and have to search it in an empty spate?
comment:3 by , 8 years ago
Hi! Yes, I asked for a bit more space to be able to inspect e.g. connectors. I need to wait for the next nightly build to tell you if the "look and feel" is how I desired it. Indeed too much space can lead to "losing" the model in the editing space. I will comment on that next Monday...
comment:4 by , 8 years ago
I checked out the latest nightly build. Actually, yes, thrice the space is to much IMHO. But adding 1/10 of the model height at top and bottom as I suggested originally is a bit too little in the Icon View. Consequently, I suggest adding 25% at top and bottom like:
QRectF sceneRectangle(left * 1.5, bottom * 1.5, fabs(left - right) * 1.5, fabs(bottom - top) * 1.5);
BTW: I really like the new panning and multiple-select features. Further panning with [Control] in OMPlot is very usable. Thanks, Adeel!
I made the actual drawing area 3 times larger than the actual size. d48d23a/OMEdit.