summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2021-06-30Fix editor suffixes and degrees conversionreduz
* Functions to convert to/from degrees are all gone. Conversion is done by the editor. * Use PROPERTY_HINT_ANGLE instead of PROPERTY_HINT_RANGE to edit radian angles in degrees. * Added possibility to add suffixes to range properties, use "min,max[,step][,suffix:<something>]" example "0,100,1,suffix:m" * In general, can add suffixes for EditorSpinSlider Not covered by this PR, will have to be addressed by future ones: * Ability to switch radians/degrees in the inspector for angle properties (if actually wanted). * Animations previously made will most likely break, need to add a way to make old ones compatible. * Only added a "px" suffix to 2D position and a "m" one to 3D position, someone needs to go through the rest of the engine and add all remaining suffixes. * Likely also need to track down usage of EditorSpinSlider outside properties to add suffixes to it too.
2021-06-29Merge pull request #37181 from jitspoe/master.button_icon_alignmentRémi Verschelde
2021-06-29Merge pull request #49970 from trollodel/graphnode_fix_port_positionRémi Verschelde
Fix GraphNode port position when the control has the Expand flag
2021-06-29Add alignment options to icons on buttons.jitspoe
They can now be centered and right-aligned. Fixes #11380.
2021-06-29Merge pull request #49719 from LightningAA/rename-node-is-ancestor-ofRémi Verschelde
Rename `is_a_parent_of()` to `is_ancestor_of()`
2021-06-29Fixes crash in case no column in tree is expanded and has minimum sizeGilles Roudière
2021-06-28Fix GraphNode port position when the control has the Expand flagtrollodel
2021-06-28Merge pull request #49917 from groud/tree_disable_scrollRémi Verschelde
Allow disabling scrolling in Tree and implement horizontal scrolling
2021-06-28Implement Tree's internal minimum width calculationGilles Roudière
2021-06-25Implement native extension systemreduz
* Deprecates GDNative in favor of a simpler, lower level interface. * New extension system allows registering core engine classes. * Simple header interface in gdnative_interace.h
2021-06-25Allow disabling scrolling in TreeGilles Roudière
2021-06-25Merge pull request #49908 from KoBeWi/📎🔫Rémi Verschelde
Remove clips_input() method and use clip_content
2021-06-25Remove clips_input() method and use clip_contentkobewi
2021-06-25Fix RichTextLabel custom_effects export to be properly filtered in the EditorEric M
2021-06-21Merge pull request #49798 from pycbouh/tree-lines-items-draw-orderRémi Verschelde
Make relationship lines draw on top of `TreeItem`s
2021-06-21Rename `is_a_parent_of()` to `is_ancestor_of()`Lightning_A
2021-06-21Make relationship lines draw on top of TreeItemsYuri Sizov
2021-06-21Update min size on Label::set_textHaoyu Qiu
2021-06-21Merge pull request #49665 from Paulb23/code_edit_indentRémi Verschelde
Move indentation into CodeEdit
2021-06-21Improve nine patch behavior of TextureProgressBarfloppyhammer
2021-06-20Move indent management to CodeEditPaulb23
2021-06-20Merge pull request #35608 from golfinq/masterRémi Verschelde
2021-06-20Use mouse and joypad enums instead of plain integersAaron Franke
Also MIDIMessage
2021-06-20Rich Text Label now allows for foreground colors and background colorsgolfinq
2021-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A
2021-06-20Merge pull request #49742 from Paulb23/remove_keywords_texteditRémi Verschelde
Remove redundant keywords from TextEdit
2021-06-20Merge pull request #48696 from madmiraal/fix-48692Rémi Verschelde
Fix `InputMap.action_erase_event()` failing to erase events correctly.
2021-06-19Remove redundant keywords from TextEditPaulb23
2021-06-17Add PROPERTY_USAGE_NONE and use itAaron Franke
2021-06-17Scrollwheel (w/o ctrl) to zoom, mouse warping when panningLightning_A
Now uses Ctrl + Scrollwheel for vertical scrolling Ctrl + Shift Scrollwheel for horizontal scrolling Also converts some macros to constants
2021-06-17Merge pull request #38261 from pycbouh/adjust-graph-edit-zoom-levelsRémi Verschelde
Make zoom limits and step adjustable in `GraphEdit`
2021-06-17Merge pull request #49258 from megalobyte/editor-fixRémi Verschelde
Fixes for documentation search
2021-06-16Merge pull request #49238 from Paulb23/code_edit_code_foldingRémi Verschelde
Move code folding into CodeEdit and hide line hiding API
2021-06-16Documentation search fixesGregory Basile
Updates rich_text_label so that the built-in documentation can be searched Previously, it would only find the first result and would not select other results Renames "_entered" functions to "_submitted"
2021-06-16Fix typo in CodeEdit methodsHaoyu Qiu
2021-06-16Make zoom limits and step adjustable in GraphEditYuri Sizov
2021-06-15Merge pull request #49011 from KoBeWi/totally_hRémi Verschelde
Fix valign with stylebox borders
2021-06-15Merge pull request #49437 from Calinou/graphedit-allow-higher-lower-zoom-valuesRémi Verschelde
Allow higher and lower maximum zoom values in GraphEdit
2021-06-15Merge pull request #49508 from kleonc/texture_button-updating-min_sizeRémi Verschelde
TextureButton Update min size on any texture change
2021-06-15Merge pull request #49582 from timothyqiu/codeedit-update-cacheRémi Verschelde
Update cache after clearing delimiters in CodeEdit
2021-06-14Merge pull request #49572 from azagaya/fix_grabber_areaRémi Verschelde
Fix vertical slider grabber_area height calculation
2021-06-14Update cache after clearing delimiters in CodeEditHaoyu Qiu
2021-06-13Fix vertical slider grabber_area height calculationazagaya
2021-06-13Merge pull request #49526 from Chaosus/fix_textureregion_errorsRémi Verschelde
2021-06-12Fixed a bunch of connection errors in TextureEditorPluginYuri Roubinsky
2021-06-12Consistently prefix bound virtual methods with _kobewi
2021-06-11Rename Reference to RefCountedPedro J. Estébanez
2021-06-11Core: Move DirAccess and FileAccess to `core/io`Rémi Verschelde
File handling APIs are typically considered part of I/O, and we did have most `FileAccess` implementations in `core/io` already.
2021-06-11TextureButton Update min size on any texture changekleonc
2021-06-10Move default values from definition to declaration in GraphEditMarcel Admiraal