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!

ThemeNavigationBar

Defines style of the NavigationBar. More...

Import Statement: import Felgo 3.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.


backgroundImageFillMode : int

The fillMode to use for the NavigationBar's background if the backgroundImageSource is set.

By default Image.Tile will be used. If you don't provide a pattern image as backgroundImageSource, you might want to set another fillMode here.


backgroundImageSource : url

An image source URL to fill the NavigationBar's background, like a pattern image.

By default this is empty and the NavigationBar only fills with the provided backgroundColor. This property is useful if you want to provide a background image like a texture for the NavigationBar.


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 property was introduced in Felgo 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 property was introduced in Felgo 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.


fillMode : enumeration

The fillMode to use for the NavigationBar's background if the backgroundImageSource is set.

By default Image.Tile will be used. If you don't provide a pattern image as backgroundImageSource, you might want to set another fillMode here.


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 tintColor on iOS, and the titleColor on other platforms.


shadowHeight : real

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

This property was introduced in Felgo 2.6.2.


titleAlignBottom : int

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

This property was introduced in Felgo 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 property was introduced in Felgo 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 property was introduced in Felgo 2.6.2.


titleTextBold : bool

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

This property was introduced in Felgo 2.6.2.


titleTextFont : string

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

This property was introduced in Felgo 2.8.2.


titleTextSize : int

Size of the title text, in pixels.

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