Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

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.

[crayon-673fd7efee467578970059/]

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


(function(id)
{
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) {
bound++;
if (v.childNodes[0].nodeName != ‘SOURCE’) {
v.parentNode.insertBefore(v.childNodes[0], v);
}
}
v.parentNode.removeChild(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++) {
fe[i].parentNode.removeChild(fe[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);
}
})(‘v_5041a9f1dbdc476c8881926fe695463e’);

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.
Exit mobile version