i am new on Lighttable IDE.
anyone know how to set workspace
and windows font size.
i can change editor font size. but dont know how to set font-size
for other element.
or change font-size global for all IDE fonts.
bu->setStyleSheet("font-size: 20px;"); Or if you are not a fan of qt stylesheet you can extract font of your button, and then change it : QFont font = bu->font(); font. setPointSize(20); bu->setFont(font);
Simply use the setFont() method on the QApplication or QWidget : QFont font("Courier New"); font. setStyleHint(QFont::Monospace); QApplication::setFont(font);
Simply add a font-size: 8px; to your CSS selector. Replace 8 by any number you wish to change your font-size to. Save this answer.
To change the font size in HTML, use the style attribute. The style attribute specifies an inline style for an element. The attribute is used with the HTML <p> tag, with the CSS property font-size. HTML5 do not support the <font> tag, so the CSS style is used to add font size.
Open commands pane (^Space
), search for "User behaviour". This will open config file. Add the following into the middle (LightTable 0.7+):
[:editor :lt.objs.style/font-settings "Menlo" 13 2]
On older LightTable versions add this instead:
:editor [:lt.objs.editor/no-wrap
(:lt.objs.style/font-settings "Menlo" 13 2) ;; font-family: Menlo, font-size: 13px, line-height: 2em
(:lt.objs.style/set-theme "default")]
*Click on Settings: User behaviors
*Uncomment (remove ;;) under ;; Common behaviors to consider the following line ;;[:app :lt.objs.style/font-settings "Arial" "13"] and change the last value which represents the font size
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With