Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

ThemeSimpleRow

Defines the default appearance of SimpleRow list items. More...

Import Statement: import Felgo 3.0
Since: Felgo 2.6.2
Inherits:

QtObject

Inherited By:

StyleSimpleRow

Properties

Detailed Description

This type is used in the global Theme object to set the default appearance of SimpleRow items. You may access the settings with the Theme::listItem property.

Property Documentation

activeBackgroundColor : color

The background color of the row when SimpleRow::active is set to true. Matches the backgroundColor by default.

This property was introduced in Felgo 2.17.0.


activeTextColor : color

The color of text within SimpleRow::active is set to true. It is set to Theme::tintColor by default.


backgroundColor : color

The background color of the row. By default the background color is white.


badgeBackgroundColor : color

The background color of the displayed SimpleRow::badgeValue. The default background color is Theme::tintColor.

This property was introduced in Felgo 2.16.1.


badgeFontSize : real

The font size of the displayed SimpleRow::badgeValue. The default value is 15 px.

This property was introduced in Felgo 2.16.1.


badgeRadius : real

The corner radius of the background of the displayed SimpleRow::badgeValue. The default value is -1, setting the radius to the height of the badge.

This property was introduced in Felgo 2.16.1.


badgeTextColor : color

The text color of the displayed SimpleRow::badgeValue. The default color is white.

This property was introduced in Felgo 2.16.1.


detailTextColor : color

The text color of the SimpleRow::detailText in the row. By default the text color matches Theme::secondaryTextColor.


disclosureColor : color

The color of the row disclosure arrow on iOS.


dividerColor : color

The color of the row divider line. By default the divider color is Theme::dividerColor.


dividerHeight : real

The height of the row divider line, in pixels. By default the divider height matches the platform-specific styles.


dividerLeftSpacing : real

Adds a spacing to the left of the divider, in App::dp(). If a spacing is set, the icon or image displayed in the SimpleRow may additionally increase this spacing.


fontSizeDetailText : real

The size of the displayed SimpleRow::detailText, in App::sp(). The default value is 15 px.


fontSizeText : real

The size of the displayed SimpleRow::text, in App::sp(). The default value is 16 px.


iconSize : real

The size of the SimpleRow::icon, in pixels. The default value is based on the Theme::navigationBar.defaultIconSize configuration.


imageSize : real

The size of the SimpleRow::image if SimpleRow::autoSizeImage is not used. It is set to 22 App::dp() initially.


indent : real

The indent for the content of the list item, in pixels. It is based on the Theme::navigationBar.defaultBarItemPadding setting by default.


minimumHeight : real

Specifies the minimum height of the row in App::dp(). By default it matches the platform-specific list item height.


selectedBackgroundColor : color

The background color of a row while it is being selected. By default it matches platform-specific colors.


selectedTextColor : color

The color of the SimpleRow::text while the row is being selected. By default it matches the textColor.

This property was introduced in Felgo 2.17.0.


showDisclosure : bool

Set this property to true to display a disclosure indicator for enabled items. This property is true on iOS by default and on all other platforms to follow common platform patterns.


spacing : real

The spacing on top and bottom of the row, in pixels. The default value is 12 px.


textColor : color

The color of the SimpleRow::text in the row. By default the text color matches Theme::textColor.