Skip to content

Commit 26f8a42

Browse files
Revert "menu_width property" (#402)
This reverts commit a4cd1a4.
1 parent 033a920 commit 26f8a42

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

docs/controls/dropdown.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_label: Dropdown
66
Dropdown is used to help people make a choice from a menu and put the selected item into the text input field. It's also possible to filter the list based on the text input or search one item in the menu list.
77

88
:::info
9-
Since version 0.27.0, Flet uses [DropdownMenu](https://api.flutter.dev/flutter/material/DropdownMenu-class.html) flutter widget for [Dropdown](/docs/controls/dropdown) control, which is a Material 3 version of previously used DropdownButton.
9+
Since version 0.27.0, Flet uses [DropdownMenu](https://api.flutter.dev/flutter/material/DropdownMenu) flutter widget for [Dropdown](/docs/controls/dropdown) control, which is a Material 3 version of previously used DropdownButton.
1010

1111
Some properties of previous Dropdown implementation are not available in the new version and were "stubbed" - they will not break your program but don't do anything. See the list of deprecated properties [here](#deprecated-dropdown-properties-and-events).
1212

@@ -244,13 +244,9 @@ An optional Icon at the front of the text input field inside the decoration box
244244

245245
Defaults to null. If this is not null, the menu items will have extra paddings to be aligned with the text in the text field.
246246

247-
### `menu_height`
247+
### `max_menu_height`
248248

249-
The height of the dropdown menu. If this is null, the menu will display as many items as possible on the screen.
250-
251-
### `menu_width`
252-
253-
The width of the dropdown menu. If this is null, the menu width will be the same as input textfield width.
249+
The maximum height of the dropdown menu. If this is null, the menu will display as many items as possible on the screen.
254250

255251
### `options`
256252

@@ -412,10 +408,6 @@ instead.**
412408

413409
The height of the items/options in the dropdown menu.
414410

415-
### ~~`max_menu_height`~~
416-
417-
The maximum height of the dropdown menu. If this is null, the menu will display as many items as possible on the screen.
418-
419411
### ~~`options_fill_horizontally`~~
420412

421413
Whether the dropdown's inner contents to horizontally fill its parent.

0 commit comments

Comments
 (0)