summaryrefslogtreecommitdiff
path: root/scene/gui/tree.cpp
AgeCommit message (Collapse)Author
2023-01-18Implement BiDi override mode for GDScript source.bruvzg
2023-01-16Merge pull request #70433 from Sauermann/fix-treeitem-idRémi Verschelde
Fix confusion about TreeItem.add_button ambiguity between id and index
2023-01-11Merge pull request #71042 from ↵Rémi Verschelde
marzecdawid/only-cursor-multiselect-tree-text-search Fix text search in Tree with multiselect
2023-01-08Expose Tree::deselect_all to GDScriptDawid Marzec
2023-01-07Fix text search in Tree with multiselectDawid Marzec
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-03Fix Tree overflow without scrolling being enabledHaoyu Qiu
2022-12-31Use the vertical scrollbar when calculating the width that can be used for ↵Marius Hanl
drawing The horizontal scrollbar was used before, which is not correct as it has no influence to the drawing width Also fixed the other wrong locations
2022-12-29Fix confusion about TreeItem.add_button ambiguity between id and indexMarkus Sauermann
A TreeItem button has an id and an index, which can be distinct. This leads to confusion. This PR documents the distinction between id and index.
2022-12-20Fix misaligned edit box when clicking on `Tree` items with different sizesMichael Alexsander
2022-12-12Merge pull request #68546 from marzecdawid/fix-deselect-all-in_treeRémi Verschelde
Fix errors while deselecting all tree items; issue #65185
2022-12-10Merge pull request #68728 from Rindbee/fix-wrong-editRémi Verschelde
Make sure the popup editor is hidden when selected
2022-12-07Fix Determining Window for TouchscreenMarkus Sauermann
DisplayServer::screen_is_touchscreen will likely never utilize its parameter p_screen. This PR replaces this function by DisplayServer::is_touchscreen_available() with the same functionality. This solves the problem, that a SubViewport was used for determining the screen, which resulted in error messages.
2022-12-04Fix TreeItem::set_as_cursor checkNinni Pipping
2022-11-30Rename theme cache separation namesIceflower
2022-11-16Make sure the popup editor is hidden when selectedRindbee
2022-11-15Fix errors while deselecting all tree items; issue #65185Dawid Marzec
2022-11-14Fix a gap with scrolling down in Tree with arrow keys (#57636)Dawid Marzec
2022-11-10[Font] Add an import option to pre-render all glyphs required for the ↵bruvzg
translation.
2022-11-08Remove duplicate project settings definitionskobewi
2022-10-13Merge pull request #66337 from EricEzaM/sprite-framesRémi Verschelde
Ensure control built-in shortcuts are matched exactly & add shortcuts for SpriteFrames editor
2022-10-09Expose TreeItem::set_button_colorJummit
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Fix wrong condition used in `set_custom_color`Rindbee
2022-09-24Ensure all checks of `is_action` in the editor which are for 'shortcut' use, ↵Eric M
check the action exactly.
2022-09-21Tree recursive foldingNinni Pipping
2022-09-07Fix key mapping changes when moving from macOS to other platformbruvzg
Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
2022-09-06Improve naming of theme properties throughout GUI codeYuri Sizov
Rename ItemList's bg -> panel Rename ItemList's bg_focus -> focus Rename ProgressBar's bg -> background Rename ProgressBar's fg -> fill Rename Tree's bg -> panel Rename Tree's bg_focus -> focus Rename ScrollContainer's bg -> panel Rename FileDialog's *_icon_modulate -> *_icon_color Rename FileDialog's files_disabled -> file_disabled_color Rename CheckButton's on/off -> checked/unchecked Rename check_v_adjust -> check_v_offset
2022-09-01Add a lifecycle method for manual theme item caching to ControlYuri Sizov
2022-08-30Merge pull request #64377 from Mickeon/rename-canvas-redrawRémi Verschelde
Rename `CanvasItem.update()` to `queue_redraw()`
2022-08-30Rename TreeItem's `set_tooltip` to `set_tooltip_text`Micky
`set_tooltip` -> `set_tooltip_text` `get_tooltip` -> `get_tooltip_text` For consistency: `get_button_tooltip` -> `get_button_tooltip_text` And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
2022-08-29Rename `CanvasItem.update()` to `queue_redraw()`Micky
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-25Merge pull request #64536 from Mickeon/editor-tree-icon-sizeRémi Verschelde
Account for TreeItem's Cell icon and center the text Popup vertically
2022-08-24Merge pull request #64082 from KoBeWi/array3kRémi Verschelde
2022-08-24Merge pull request #59226 from Rindbee/better-setters-in-gui-controlsYuri Sizov
Improve the setters in gui, return directly if the value does not change.
2022-08-24implemented right click on Tree control headerderammo
2022-08-24Replace Array return types with TypedArray 3kobewi
2022-08-23Add some codes, returnes directly if the value is not changed.风青山
Avoid executing the following value-changed logics if the value does not really change.
2022-08-19Account for TreeItem's Cell icon and center the text Popup verticallyMicky
2022-08-04fixed Tree UI control bug corrupting child cachederammo
2022-07-26Merge pull request #63472 from timothyqiu/tree-row-cell-bgRémi Verschelde
Tree: Don't draw selection background of individual cells in Row mode
2022-07-26Tree: Don't draw selection background of individual cells in Row modeHaoyu Qiu
2022-07-25Fix negative indices in TreeItemkobewi
2022-07-18Rename Control PRESET_WIDE to PRESET_FULL_RECTFireForge
2022-07-13Merge pull request #62781 from MinusKube/tree-slider-bugRémi Verschelde
Fix range slider in tree not updating text value
2022-07-07Horizontal scroll for TreeNinni Pipping
2022-07-06Fix range slider in tree not updating text valueMinusKube
2022-07-06Refactor Font configuration and import UI, and Font resources.bruvzg
2022-06-01Handle drawing of relationship lines better to take in to account invisible ↵monkeyman192
children
2022-05-31Merge pull request #61453 from m3g4d1v3r/masterRémi Verschelde
Fix #61444: Executing Tree.scroll_to_item crashes Godot