View Single Post
Old 09-26-2017, 10:08 PM   #11
bookivore
Member
bookivore began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Sep 2017
Device: laptop
The following works to change the menu headings font and the menu entry font. There are some other font settings I haven't found yet, but those are the important ones. I've also got some commented out font-color code, that somebody with similar problems finding this thread might could use. The problem with looking for examples on the internet is that most people writing on this assume you already speak the language and quote code out of context. Paste it in & it doesn't work any more than a bash script with an unclosed if. This is my entire file. It works, just like this:


QMenu {
/* This works, but I don't need it with compton. Neither "foreground" nor "forground" work */
/* background-color: #ff0000; /* sets background of the menu */
/* The following changes font IN the menu but not the menu heading */
font: 24px;
border: 1px solid black;
}
/* Sets font of menu headings. */
QMenuBar {
font: 24px;
}
QPushButton#evilButton {
background-color: red;
border-style: outset;
border-width: 2px;
border-radius: 10px;
border-color: beige;
font: 24px;
min-width: 10em;
padding: 6px;
}
bookivore is offline   Reply With Quote