MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Plugins (https://www.mobileread.com/forums/forumdisplay.php?f=268)
-   -   Font in launcher plugin window (https://www.mobileread.com/forums/showthread.php?t=322443)

Vroni 08-23-2019 03:47 PM

Font in launcher plugin window
 
Hi,

how can i change the font in the plugin launcher window? A monospaced font would be fine to be able to see tabular debug info better.

Vroni

DiapDealer 08-23-2019 04:18 PM

Can't (unless there's some way with qt-stylesheets I'm unaware of).

Vroni 08-23-2019 04:36 PM

:ranting:

KevinH 08-23-2019 04:47 PM

Copy and paste that text into any text editor you want. A monospaced font might be a good idea for the future.

KevinH 08-23-2019 04:52 PM

According to the PluginRunner.ui form file, the text console is a QTextEdit called "textEdit".

You could try using a .qss stle sheet to set a monospaced default fount for that class.

Doitsu 08-23-2019 05:00 PM

Quote:

Originally Posted by Vroni (Post 3881884)
how can i change the font in the plugin launcher window?

Since you can use print() to render HTML in the Plugin Runner window, you could wrap your messages in a minimal HTML file and specify a monospace font as an inline style attribute. For example:

Code:

<html>
<body style="font-family: monospace">
<pre>
Column 1        Column 2        Column 3
Value 1        Value 2        Value 3
</pre>
</body>
</html>



All times are GMT -4. The time now is 08:45 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.