You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: Specifies the theme to use when drawing the control.
8
+
9
+
Introduced: 8.0
10
+
11
+
OS: mac,windows,linux,ios,android
12
+
13
+
Platforms: desktop,server,web,mobile
14
+
15
+
Example:
16
+
set the theme of this stack to "native"
17
+
18
+
Value (string): The <theme> of an object or control is a name identifying the style to use when drawing it.
19
+
20
+
Description:
21
+
Use the <theme> property to control the general appearance of an object or control. It can be set on any object, including cards, stacks and controls. The currently supported values are "native" and "legacy". For an appearance that matches native apps for the platform an app is running on, use "native". The "legacy" setting preserves the appearance of older versions of LiveCode and is provided for backwards-compatibility.
Syntax: set the themeClass of tObject to tThemeClass
6
+
7
+
Summary: Specifies which set of theming parameters should be used for an object.
8
+
9
+
Introduced: 8.0
10
+
11
+
OS: mac,windows,linux,ios,android
12
+
13
+
Platforms: desktop,server,web,mobile
14
+
15
+
Example:
16
+
set the themeClass of field "mylabel" to "label"
17
+
18
+
Value (string): The <themeClass> of an object or control is what kind of object to treat it as for UI theming purposes.
19
+
20
+
Description:
21
+
Use the <themeClass> property of an object or control to change which set of theming parameters it uses. These parameters include fonts, colors and sizes. For example, setting the <themeClass> of a field to "label" will cause it to use the fonts and colors of a label rather than a text entry box.
22
+
23
+
If no <themeClass> is specified, the engine will auto-detect the appropriate type based on the properties of the object. To retrieve this auto-detected type when the property is empty use <the effective themeClass>.
24
+
25
+
Unlike many other appearance-related properties, the <themeClass> property is not inherited.
0 commit comments