[Qt-interest] View space margin

Srdjan Todorovic todorovic.s at googlemail.com
Fri Jun 26 09:56:41 CEST 2009


Hi,

On 26/06/2009, Sujan Dasmahapatra <sdh at lmglasfiber.com> wrote:
> Dear Friends
>
> My graphicsitem is being placed  on the view taking the full space how
> can I leave some margin on the left and right side.When I zoom in and
> scroll I can to till exactly the end of graphicsitem how can I get some
> space some margin please tell me someone.

You are missing some punctuation. :)

Can you clip the zoom to 98%?
If user wants to zoom 100%, force zoom of 98% but let them think it's
100%. Would that work?

Not sure that would work for scrolling...

Srdjan



More information about the Qt-interest-old mailing list