KDE/kdevelop/debuggers/gdb

Aleix Pol aleixpol at kde.org
Sat Apr 25 21:45:27 UTC 2009


Well, if you want we can calculate something that the result is more or less
30.

On Sat, Apr 25, 2009 at 7:59 PM, Vladimir Prus <ghost at cs.msu.su> wrote:

> On Saturday 25 April 2009 21:26:50 Aleix Pol Gonzalez wrote:
> > SVN commit 959180 by apol:
> >
> > Do not show the tooltip right under the cursor.
> >
> >
> >  M  +1 -1      variablecollection.cpp
> >
> >
> > --- trunk/KDE/kdevelop/debuggers/gdb/variablecollection.cpp
> #959179:959180
> > @@ -427,7 +427,7 @@
> >      if (!w)
> >          w = view;
> >
> > -    activeTooltip_ = new VariableToolTip(w, global, controller_,
> expression);
> > +    activeTooltip_ = new VariableToolTip(w, global+QPoint(30,30),
> controller_, expression);
> >  }
>
> As I've said on IRC, I don't think hardcoded 30 is acceptable. I think this
> offset should
> depend on font metrics -- like 3 widths of 'M' in the current font. This is
> the only
> thing that is likely to scale with monitor resolution in a sensible way.
>
> - Volodya
>
> _______________________________________________
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090425/ffa153d4/attachment.html>


More information about the KDevelop-devel mailing list