ThemeSimpleRow

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

Import Statement: import VPlayApps 1.0
Since: V-Play 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 QML property was introduced in V-Play 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 red.

This QML property was introduced in V-Play 2.16.1.


badgeFontSize : real

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

This QML property was introduced in V-Play 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 QML property was introduced in V-Play 2.16.1.


badgeTextColor : color

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

This QML property was introduced in V-Play 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 QML property was introduced in V-Play 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.


Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support