Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » ScrollingGraphicalViewer: Auto right scroll when width increases
ScrollingGraphicalViewer: Auto right scroll when width increases [message #916643] Wed, 19 September 2012 05:12 Go to previous message
Jason Lin is currently offline Jason Lin
Messages: 11
Registered: July 2012
Junior Member
(1)First Scenario
Figure 1. The element in the most right of canvas.
index.php/fa/11555/0/
Figure 2. Hover the element,the button pad shows and the canvas increase size, but not scroll right.
Thus we can't see the right area of context button pad.
index.php/fa/11556/0/

(2) Seconde Scenario
Figure 3. Expand the element and the scrollbars shows but not scroll right
index.php/fa/11557/0/
Figure 4. Scroll manually
index.php/fa/11558/0/

I want to solve this problem by:
(1) add border/inset to ScrollingGraphicalViewer. But can't find it how to add it.
(This approach is not fit to second scenario)
(2) auto scroll to right if the size expand because of drag&drop or others.

Unfortunately, I still can't implement even one of them in graphiti after reading some articles and codes for hours.

So,
If the approach is incorrect, then what is the right way?
If correct, how to do it?

Thanks in advanced.

Jason, Lin
  • Attachment: 1.png
    (Size: 11.00KB, Downloaded 202 times)
  • Attachment: 2.png
    (Size: 12.81KB, Downloaded 196 times)
  • Attachment: 3.png
    (Size: 13.30KB, Downloaded 195 times)
  • Attachment: 4.png
    (Size: 18.40KB, Downloaded 199 times)

[Updated on: Wed, 19 September 2012 05:17]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic:Delayed coloring of shapes throws exception
Next Topic:DirectEditing field position
Goto Forum:
  


Current Time: Sun May 19 17:05:48 EDT 2013

Powered by FUDForum. Page generated in 0.01804 seconds