summaryrefslogtreecommitdiff
path: root/scene/gui/popup_menu.cpp
AgeCommit message (Collapse)Author
2022-07-18Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-06-15Expose PopupMenu set/get_item_horizontal_offset()FireForge
- Renames setter from set_item_h_offset() - Adds getter
2022-06-13Single-window mode popups and edited scene windows fixes.bruvzg
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.
2022-06-11Add suffixes to all nodes and resourcesFireForge
2022-04-28Merge pull request #52624 from e8newallm/52577Rémi Verschelde
Corrected ordering of Left/Top/Right/Bottom properties
2022-04-23Rename theme properties to include underscoresFireForge
- 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
2022-04-13Add `font_separator` and related properties to `PopupMenu`Michael Alexsander
2022-04-13Fix and tweak labeled separator in `PopupMenu`Michael Alexsander
2022-04-13Fix sub-menu keyboard navigation.bruvzg
2022-03-15Fix text buf does not clear when calling the method set_item_text in PopupMenu风青山
2022-03-12Allow negative indexes in ItemList and PopupMenukobewi
2022-03-06Remove set_as_minsize()kobewi
2022-02-25Improve popup window handling.bruvzg
Add window FLAG_POPUP and a platform specific routines to control popup auto-hiding and event forwarding.
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-09Merge pull request #57837 from YeldhamDev/that_was_pointlessRémi Verschelde
2022-02-09Remove code to update the layout direction of submenus from `PopupMenu`Michael Alexsander
2022-02-09Adjust id creation in PopupMenu to avoid duplicate idsMarkus Sauermann
2022-02-08Merge pull request #57692 from YeldhamDev/popping_optionsRémi Verschelde
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
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.
2022-02-07Merge pull request #57725 from jmb462/missing-sname-theme-settersRémi Verschelde
2022-02-06Make popups from `MenuButton`, `OptionButton`, and submenus obey the layout ↵Michael Alexsander
direction
2022-02-06Add missing SNAME macro optimization to all theme methods calljmb462
2022-02-06Better handle icons and checkboxes with separators in `PopupMenu`Michael Alexsander
2022-02-06Enhancements and fixes for `OptionButton` and `PopupMenu`Michael Alexsander
2022-02-03Merge pull request #56992 from YeldhamDev/smarter_popmenu_focusRémi Verschelde
2022-01-28Make various improvements to OptionButtoneikobear
- 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.
2022-01-25Make popup menus focus items automatically when not using the mouseMichael Alexsander
2022-01-20[Windows] Fix pop-up dialogs instantly closing.bruvzg
2022-01-15OptionButton::pressed(): give focus to selectedRicardo Buring
2022-01-08Merge pull request #54647 from rafallus/fix/popupmenu_idsRémi Verschelde
Fix `PopupMenu` items id range in inspector
2022-01-07Fix `PopupMenu` items id range in inspectorrafallus
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-03Merge pull request #55487 from YeldhamDev/scroll_bikesheddingRémi Verschelde
2021-12-10Merge pull request #43181 from nathanfranke/string-emptyRémi Verschelde
Replace String comparisons with "", String() to is_empty()
2021-12-09Increased time delay on selection when opening a popupFelipeMatoba
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-08Improve PopupMenu doc about id and indexkobewi
2021-12-06Rename "items_count" property to "item_count"Aaron Franke
2021-12-06Fix bad popups offset in editor with single window offjmb462
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-11-30Rename all methods that return `ScrollBar` nodes to `get_*_scroll_bar()`Michael Alexsander
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-04Add missing argument names for bindings in GDExtensionRémi Verschelde
2021-11-03Implement inspector property array for `PopupMenu` and `MenuButton`rafallus
2021-09-19Corrected directional properties to be ordered Left->Top->Right->BottomMatthew Newall
2021-08-29Merge pull request #30391 from KoBeWi/hiding_childrenJuan Linietsky
Add support for internal nodes
2021-08-28Merge pull request #51906 from requizm/fix/49077Michael Alexsander
Fix tooltips don't appear for PopupMenus
2021-08-28Add support for internal nodeskobewi