From 24d02dfb47ba3f339725eaea66ec747809731979 Mon Sep 17 00:00:00 2001 From: kobewi Date: Sat, 19 Mar 2022 02:15:55 +0100 Subject: Add fit_to_longest_item to OptionButton --- doc/classes/OptionButton.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/OptionButton.xml b/doc/classes/OptionButton.xml index a7b1f0ea33..737662fe69 100644 --- a/doc/classes/OptionButton.xml +++ b/doc/classes/OptionButton.xml @@ -194,6 +194,10 @@ + + If [code]true[/code], minimum size will be determined by the longest item's text, instead of the currently selected one's. + [b]Note:[/b] For performance reasons, the minimum size doesn't update immediately when adding, removing or modifying items. + The number of items to select from. -- cgit v1.2.3