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:

ARPA2CM released – some CMake modules

One of the more broadly-useful things to come out of KDE Frameworks efforts is, in my opinion, the KDE Extra CMake Modules (ECM). Since KDE software nearly-universally uses CMake as (meta-)build system, a lot of common functionality is distilled into the …

via [bobulate] January 20, 2022

Help Chile write free software values, privacy, and digital sovereignty into their constitution

For those out of the loop, a group which included myself up until recently,1 Chile is in the midst of a revolution. They’re fighting against the increased cost of living, privatization of essential services, and worsening inequality — problems facing everyon…

via Drew DeVault's blog January 19, 2022

About Logging

TL;DR: This post also talks about the problems I faced while working on my logging. To log to syslog from within my containers that do not support configuring a remote syslog server, I had syslog-ng expose a unix domain socket and mounte…

via PapaTutuWawa's Blog April 16, 2021

Generated by openring