TextButtonBarItem

Displays a clickable text inside a NavigationBar slot. More...

Import Statement: import VPlayApps 1.0
Since: V-Play 2.9.2
Inherits:

ButtonBarItem

Properties

Detailed Description

This item can be used to display text inside the left or right NavigationBar slot. It optionally also acts as a button that can be clicked by the user. If you do not want the text to be clickable, set enabled to false.

iOS Android

Example Usage

 import VPlayApps 1.0

 App {
   NavigationStack {

     Page {
       title: "Example"
       rightBarItem: TextButtonBarItem {
         text: "Click Me!"
         onClicked: console.log("Text Clicked")
       }
     }

   }
 }

Property Documentation

color : color

The color of the text. The default is Theme.navigationBar.itemColor if TextButtonBarItem is enabled, Theme.navigationBar.titleColor otherwise.


text : string

The text to be displayed.


textItem : AppText

The text item that shows the text.


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