Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!

Dark FMX Style on Linux

FMX Styles are designed to give your product a clean, polished look. The Dark style is a terrific example of this, especially when it is used in FMXLinux, new in Delphi 10.3 Rio.

To use Dark, all you need to do is open a TStyleBook to include the file, found in your Styles folder.

I’ve included some examples of the Dark style on Linux here:

var v = document.getElementById(id);
var op = v.style.position, ol = v.style.left, or = v.style.right, fe = [];
var nodeLimit = 50;
checkVideo = function() {
if (!v.canPlayType || v.error) {
var bound = 0;
while (v.childNodes.length > 0 && bound < nodeLimit) {
if (v.childNodes[0].nodeName != ‘SOURCE’) {
v.parentNode.insertBefore(v.childNodes[0], v);
} else if (v.readyState == 0) {
window.setTimeout(checkVideo, 249);
checkVideoRendered = function() {
if (v.networkState == 1 && v.readyState == 4) {
v.style.position = op;
v.style.left = ol;
v.style.right = or;
for (var i = 0; i < fe.length; i++) {
} else {
window.setTimeout(checkVideoRendered, 249);
if (navigator.userAgent.indexOf(‘iPad’) == -1 && navigator.userAgent.indexOf(‘iPhone’) == -1 && navigator.userAgent.indexOf(‘iPod’) == -1) {
window.setTimeout(checkVideo, 249);


Dark is also a great option for your Windows, iOS, Android, and MacOS projects.

Explore more information on Windows Subsystem for Linux and get a helpful list of resources for certain key topics.


Looking for great UI components and styles when building applications in the FMX Framework? Try the Cross-Platform App Builder, which simplifies your design and allows you to take advantage of the infinite design possibilities.

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Chief Developer Advocate for Embarcadero Technologies.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.