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

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:


(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’);

4762-dark-extcontrols-80146727026-dark-memo-70019416521-dark-new-19169080574-dark-scrollbox-58750726013-dark-standard-59182941070-dark-transformations-89099832742-dark-treeview-52767045621-dark-additional-2566342

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

Director of Delphi Consulting for GDK Software USA. Many software related patents, including swipe and pattern unlock and search engines. First Silver and Gold Delphi badges on Stack Overflow Former Developer Advocate for Embarcadero Technologies. Long time fan of programming, especially with Delphi. Author, Podcaster/YouTuber, Improvisor, Public Speaker, Father, and Friend.

Leave a Reply

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

IN THE ARTICLES