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:

Richard Stallman's political discourse on sex

Richard Stallman, the founder of the Free Software Foundation, has been subject to numerous allegations of misconduct. He stepped down in 2019, and following his re-instatement in 2021, a famous open letter was published in which numerous organizations and i…

via Drew DeVault's blog November 25, 2023

Upgrading to FreeBSD 14 - how to fix a broken BIOS bootcode

A lot of people running ZFS zroot have managed to break their FreeBSD systems upgrading from 13.2 to the new 14.0 release because of a broken BIOS bootcode. In this tutorial I'll show you how you can fix that without having to reinstall.

via unixsheikh.com November 22, 2023

C++ Guidelines

C++ is definitely a language that has Lots of Ways to do It – kind of like Perl’s TIMTOWTSAC. A consequence is that when writing code, you need to think about which way to do things. When context-switching between projects, employers, or what-have-you, yo…

via [bobulate] November 21, 2023

Generated by openring