Automatic resizing of columns in the Variables tool view

Andreas Pakulat apaku at gmx.de
Wed Nov 11 08:00:54 UTC 2015


Hi Jeremy,

On Wed, Nov 11, 2015 at 12:43 AM, Jeremy Murphy <
jeremy.william.murphy at gmail.com> wrote:

> Hi,
>
> I would like to make what I hope is a very small change to KDevelop 4
> because it would help my workflow immensely right now. Or maybe there is a
> workaround that I didn't know about.
>
> I want to stop those columns in the Variables tool view from automatically
> resizing (for any reason). Sometimes it is a convenient feature, but in
> other situations quite frustrating. Making it configurable would be the
> ideal solution, but I would like to change it right away to simply stop, at
> least for my own use.
>
> I need help because I'm not familiar with Qt.  :)  If someone could give
> me some hints as to which files to look in, or what the widget is called,
> that would really kick-start my work.
>

Look for uses of QHeaderView::ResizeToContents in the debugger directory of
the kdevplatform git repository. Or for calls of resizeSection in that area
- likely on the return value of horizontalHeader of some variable tableview.

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20151111/0d9018e8/attachment.html>


More information about the KDevelop-devel mailing list