summaryrefslogtreecommitdiffstats
path: root/scene/gui/popup_menu.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix crash when pressing up on an empty `PopupMenu`Michael Alexsander2022-08-271-67/+69
|/
* Add some codes, returnes directly if the value is not changed.风青山2022-08-231-0/+86
| | | | Avoid executing the following value-changed logics if the value does not really change.
* Implement `MenuBar` control to wrap `PopupMenu`s or native menu, use native ↵bruvzg2022-08-181-11/+97
| | | | menu for editor.
* Add missing properties to default themekobewi2022-08-111-5/+10
|
* Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge2022-07-181-2/+2
|
* Refactor Font configuration and import UI, and Font resources.bruvzg2022-07-061-37/+2
|
* Expose PopupMenu set/get_item_horizontal_offset()FireForge2022-06-151-1/+8
| | | | | - Renames setter from set_item_h_offset() - Adds getter
* Single-window mode popups and edited scene windows fixes.bruvzg2022-06-131-0/+23
| | | | | | Fix single-window mode popup not closing when OptionBox is clicked. Fix single-window mode submenus closing when parent menu item, that was used to open it is clicked (using same safe-area logic as platform specific code). Disallow windows that are part of an edited scene from being set as exclusive or popup to prevent it from locking up the editor.
* Add suffixes to all nodes and resourcesFireForge2022-06-111-1/+1
|
* Merge pull request #52624 from e8newallm/52577Rémi Verschelde2022-04-281-2/+2
|\ | | | | Corrected ordering of Left/Top/Right/Bottom properties
| * Corrected directional properties to be ordered Left->Top->Right->BottomMatthew Newall2021-09-191-2/+2
| |
* | Rename theme properties to include underscoresFireForge2022-04-231-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - check_vadjust -> check_v_adjust - close_h_ofs -> close_h_offset - close_v_ofs -> close_v_offset - commentfocus -> comment_focus - hseparation -> h_separation - ofs -> offset - selectedframe -> selected_frame - state_machine_selectedframe -> state_machine_selected_frame - table_hseparation -> table_h_separation - table_vseparation -> table_v_separation - vseparation -> v_separation
* | Add `font_separator` and related properties to `PopupMenu`Michael Alexsander2022-04-131-5/+10
| |
* | Fix and tweak labeled separator in `PopupMenu`Michael Alexsander2022-04-131-3/+7
| |
* | Fix sub-menu keyboard navigation.bruvzg2022-04-131-7/+14
| |
* | Fix text buf does not clear when calling the method set_item_text in PopupMenu风青山2022-03-151-0/+4
| |
* | Allow negative indexes in ItemList and PopupMenukobewi2022-03-121-0/+60
| |
* | Remove set_as_minsize()kobewi2022-03-061-1/+1
| |
* | Improve popup window handling.bruvzg2022-02-251-1/+5
| | | | | | | | Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
* | Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde2022-02-151-3/+7
| |
* | Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-0/+1
| |
* | Merge pull request #57837 from YeldhamDev/that_was_pointlessRémi Verschelde2022-02-091-20/+1
|\ \
| * | Remove code to update the layout direction of submenus from `PopupMenu`Michael Alexsander2022-02-091-20/+1
| | |
* | | Adjust id creation in PopupMenu to avoid duplicate idsMarkus Sauermann2022-02-091-3/+3
|/ /
* | Merge pull request #57692 from YeldhamDev/popping_optionsRémi Verschelde2022-02-081-26/+24
|\ \
| * | Enhancements and fixes for `OptionButton` and `PopupMenu`Michael Alexsander2022-02-061-26/+24
| | |
* | | Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
* | | Merge pull request #57725 from jmb462/missing-sname-theme-settersRémi Verschelde2022-02-071-4/+4
|\ \ \
| * | | Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-4/+4
| |/ /
* | | Make popups from `MenuButton`, `OptionButton`, and submenus obey the layout ↵Michael Alexsander2022-02-061-7/+27
| | | | | | | | | | | | direction
* | | Better handle icons and checkboxes with separators in `PopupMenu`Michael Alexsander2022-02-061-21/+44
|/ /
* | Merge pull request #56992 from YeldhamDev/smarter_popmenu_focusRémi Verschelde2022-02-031-17/+27
|\ \
| * | Make popup menus focus items automatically when not using the mouseMichael Alexsander2022-01-251-17/+27
| | |
* | | Make various improvements to OptionButtoneikobear2022-01-281-3/+3
|/ / | | | | | | | | | | - Allow OptionButton selection to be set to -1 to signify no selection, both via API and in the editor. - Reset OptionButton selection to -1 when the selected item has been removed. - Fully convert PopupMenu to a zero-based ID system, which improves an inconsistency in generated IDs when making new items in the editor.
* | [Windows] Fix pop-up dialogs instantly closing.bruvzg2022-01-201-3/+3
| |
* | OptionButton::pressed(): give focus to selectedRicardo Buring2022-01-151-0/+7
| |
* | Merge pull request #54647 from rafallus/fix/popupmenu_idsRémi Verschelde2022-01-081-1/+9
|\ \ | | | | | | Fix `PopupMenu` items id range in inspector
| * | Fix `PopupMenu` items id range in inspectorrafallus2022-01-071-1/+9
| | |
* | | Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | | | | | | | | | Happy new year to the wonderful Godot community!
* | | Merge pull request #55487 from YeldhamDev/scroll_bikesheddingRémi Verschelde2022-01-031-5/+5
|\ \ \
| * | | Rename all methods that return `ScrollBar` nodes to `get_*_scroll_bar()`Michael Alexsander2021-11-301-5/+5
| | | |
* | | | Merge pull request #43181 from nathanfranke/string-emptyRémi Verschelde2021-12-101-14/+14
|\ \ \ \ | | | | | | | | | | Replace String comparisons with "", String() to is_empty()
| * | | | Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* | | | | Increased time delay on selection when opening a popupFelipeMatoba2021-12-091-1/+1
|/ / / /
* | | | Improve PopupMenu doc about id and indexkobewi2021-12-081-41/+41
| | | |
* | | | Rename "items_count" property to "item_count"Aaron Franke2021-12-061-1/+1
| | | |
* | | | Fix bad popups offset in editor with single window offjmb4622021-12-061-1/+1
|/ / / | | | | | | | | | | | | Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
* / / Rename `remove()` to `remove_at()` when removing by indexLightning_A2021-11-231-1/+1
|/ /
* | Use "enum class" for input enumsAaron Franke2021-11-121-24/+24
| |
* | Add missing argument names for bindings in GDExtensionRémi Verschelde2021-11-041-1/+1
| |