Add "primary" property for StandardButton (Dialog context) #7622
Labels
a:widgets
Implementation of widgets (from std-widgets.slint) and their styles (mF,bS)
enhancement
New feature or request
need triaging
Issue that the owner of the area still need to triage
Feature Description
A small followup issue to #7240 just to get it out of my head (did not find a similar issue addressing this).
For Simple
yes/no
dialogs setting the input focus on the button is just fine. However when the use case gets slightly more complex and an additional input field also wants focus (for example a password dialog) this approach no longer works. In this example setting the input focus to the password field "steals" focus from the "ok" button.The slint
Button
reference already discusses theprimary
property. Does this apply toStandardButton
as well?Product Impact
Yet another "quality of life" feature.
The text was updated successfully, but these errors were encountered: