KDevelop filetemplates preview toolview - tweaks

The KDevelop`s user interface (UI) suffers from required minimal width of widgets and toolviews. The “Template Preview” toolview is one such toolview. In my case it pushes part of the KDevelop window out of the screen.

Apart from other widgets in KDevelop window the main culprits in “Template Preview” toolview are kMessageWidged, line policy combo box and its label.

The combo box is wide, the proposed solution would be to set some fixed width or to move the label above or under it.

The other solution is to enable word-wrap for KMessageWidget and the line policy label. While I was at it I also removed one spacer which was only causing trouble. The effect of this change is very nice, the toolview requires a bit less space than before and the KDevelop window can now fit my screen.

But as always, there is a drawback. There seems to be a bug on KMessageWidget which does not look nice.

After a bit of playing with layout I sent a bug report and prepard merge request at invent.kde.org

The final results can be seen here. And it seems like the bug report should be edited….

The KMessageWidgets size is not changing when the width is decreased and words needs to be wrapped, it looks bad.

Articles from blogs I follow:

GPG Update 2026

A recent toot of mine got the response “friends don’t let friends use GPG” which, I suppose, is true enough. It certainly isn’t the attestation-friendly thing to use, and the opsec failures that are so easy with GPG-encrypted mail make it a hazard there. …

via [bobulate] February 3, 2026

The reasons for the big discrepancy between satisfied vs dissatisfied developers using AI for coding

To some developers AI seems to be the best thing since sliced bread, while to others, AI is more or less useless. I set out to investigate a little about why there is such a big difference in opinion among developers. This is just some my observations.

via unixdigest.com January 27, 2026

Steve Ballmer was an underrated CEO

There's a common narrative that Microsoft was moribund under Steve Ballmer and then later saved by the miraculous leadership of Satya Nadella. This is the dominant narrative in every online discussion about the topic I've seen and it's a commo…

via danluu.com October 28, 2024

Generated by openring