ThemeNavigationBar

Defines style of the NavigationBar. More...

Import Statement: import VPlayApps 1.0
Inherits:

QtObject

Properties

Detailed Description

This type is used in the global Theme object for the appearance of NavigationBar.

Property Documentation

backgroundColor : color

The background color fills the NavigationBar's background.

By default, this is chosen to match the target platform.


defaultBarItemPadding : real

Sets the default left and right padding in pixels for items based on the NavigationBarItem type. Matches platform-specific values by default.

This QML property was introduced in V-Play 2.6.2.


defaultIconSize : real

Holds the default size of icons in the navigation bar, in pixels. It is used for items like IconButtonBarItem and matches platform-specific values by default.

This QML property was introduced in V-Play 2.6.2.


dividerColor : color

The divider is displayed as a thin line at the very bottom of the navigation bar. Override the divider color to customize the look of the divider.

By default, this is chosen to match the target platform.


height : real

Height of the navigation bar, in pixels.

By default, this is chosen to match the target platform.


itemColor : color

The item color defines the NavigationBar's left and right item color.

By default this property matches the title's color.


shadowHeight : real

Defines the height of the shadow beneath the navigation bar in pixels. Matches platform-specific values by default.

This QML property was introduced in V-Play 2.6.2.


titleAlignBottom : int

Whether the title should be bottom aligned. By default, this is chosen to match the target platform.

This QML property was introduced in V-Play 2.6.2.


titleAlignLeft : bool

Whether the title should be left aligned. By default, this is chosen to match the target platform.


titleBottomMargin : real

Specifies a margin from the bottom of the navigation bar to the title text, unless the text is vertically centered.

This QML property was introduced in V-Play 2.6.2.


titleColor : color

The title color defines the font color of the displayed title label.

By default, this is chosen to match the target platform.


titleLeftMargin : real

Adds an additional margin to the left of the navigationBar's title item if it is left-aligned, in pixels. It is set to platform-specific values by default.

This QML property was introduced in V-Play 2.6.2.


titleTextBold : bool

Whether the title text is displayed bold. The default value is true.

This QML property was introduced in V-Play 2.6.2.


titleTextFont : string

Specifies the font for the NavigationBar's title text. The default setting uses Theme::normalFont.

This QML property was introduced in V-Play 2.8.2.


titleTextSize : int

Size of the title text, in pixels.

By default, this is chosen to match the target platform.


Videos

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