Logo FluentUI

PillButton QML Type

A pill-shaped rounded button. More...

Import Statement: import FluentUI.Controls 1.0

Properties

Detailed Description

PillButton is a button control with an elongated pill shape and fully rounded ends. It supports an icon, highlighted state, and can be disabled.

Property Documentation

enabled : bool

Whether the button is enabled and can be interacted with. When false, the button appears grayed out and does not respond to input.

highlighted : bool

Whether the button is displayed in its highlighted (accent) visual state.

icon : var

The icon displayed on the button. This can be an icon from the FluentIcons font or an image source URL.

text : string

The text label displayed on the button.