Commit graph

717 commits

Author SHA1 Message Date
Elia Argentieri 0955371447 Make the step property useful for sliders as described in #5773 2016-10-15 18:22:48 +02:00
volzhs 7f6c28e97f Fix GraphEdit connection wire when resizing GraphNode 2016-10-15 03:11:26 +09:00
George Marques 6ca2128ff8 Merge pull request #6807 from volzhs/buttongroup-signal
Add "button_selected" signal to ButtonGroup
2016-10-14 14:43:18 -03:00
Rémi Verschelde 44e0071d0f Merge pull request #6780 from RandomShaper/space-padded-line-numbers
Allow turning off zero-padding for line numbers
2016-10-14 18:09:27 +02:00
George Marques 98ad32c167 Merge pull request #6809 from volzhs/graphedit-zoom
Fix GraphEdit connection wire when zoom in/out
2016-10-13 13:09:18 -03:00
Pedro J. Estébanez 00b3af246b Allow turing off zero-padding for line numbers 2016-10-13 11:43:42 +02:00
volzhs 6227e38ec6 Fix GraphEdit connection wire when zoom in/out 2016-10-13 12:11:29 +09:00
volzhs 870ed6f2fa Add "button_selected" signal to ButtonGroup 2016-10-13 09:58:06 +09:00
volzhs 06903c7ad2 Expose resizable property of GraphNode in inspector 2016-10-13 08:24:25 +09:00
Rémi Verschelde 0f587c460e Merge pull request #6778 from Hinsbart/completion_z
Fix Script Editor drawing over Dialogs.
2016-10-11 09:10:39 +02:00
Andreas Haas f73b501d6f
Fix Script Editor drawing over Dialogs.
Resets the z-index when focus is lost and the completion is shown.

Fixes #6769
2016-10-10 13:24:46 +02:00
Pedro J. Estébanez d9c1729a8f Add line length guideline to code editors 2016-10-10 10:39:58 +02:00
Rémi Verschelde 6f9023c9a6 Merge pull request #6717 from Hinsbart/focus_crash
Prevent crash on focus change when no valid next control has been found.
2016-10-09 14:41:22 +02:00
Rémi Verschelde 9eb54e5b6e Merge pull request #6716 from Hinsbart/completion_fix
Fix code completion drawing under other gui elements.
2016-10-09 14:40:11 +02:00
Rémi Verschelde a4f3d93136 Merge pull request #6707 from volzhs/graphnode
Expose selected value of GraphNode
2016-10-09 14:37:21 +02:00
Rémi Verschelde 369865f01a Merge pull request #6705 from volzhs/graphedit
Fix GraphEdit grab random node when delete or deselect by clicking empty space
2016-10-09 14:35:24 +02:00
Rémi Verschelde fb856e532e Merge pull request #6673 from J08nY/issue-update-spinner
Fix #6653, add an option to stop the update spinner from spinning
2016-10-09 14:06:59 +02:00
Rémi Verschelde 28b0e9a56c Merge pull request #6553 from pkowal1982/treecheckbox
Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK
2016-10-09 13:54:36 +02:00
Andreas Haas 6dfa405eac
Fix code completion drawing under other gui elements.
Raises the z-index of the Script editor when the completion is shown.

fixes #1257
fixes #6690
2016-10-05 10:19:52 +02:00
Andreas Haas 8dd026e4f9
Prevent crash on focus change when no valid next control has been found.
Fixes the crash discussed in #6714.
2016-10-05 08:56:58 +02:00
volzhs 7d74e3c39f Expose selected value of GraphNode 2016-10-05 02:00:58 +09:00
volzhs 83278a1ac4 Fix GraphEdit grab random node when delete or deselect by clicking empty space 2016-10-05 01:10:49 +09:00
Rémi Verschelde ad280e7bfc Merge pull request #6640 from Hinsbart/color_picker
Add inline ColorPicker to Script text editor.
2016-10-03 12:00:10 +02:00
Rémi Verschelde c939be8859 Merge pull request #6634 from zaps166/fix-resampler-crash
Don't crash when video is stopped and played again
2016-10-03 11:59:55 +02:00
Rémi Verschelde 03ee749989 Merge pull request #6529 from pkowal1982/scrolltree
Add scrolling to Tree control in Drag and Drop mode
2016-10-03 11:44:32 +02:00
Rémi Verschelde 9c4c1733b4 Merge pull request #6513 from Brickcaster/master
Fix for issue #6496: ItemList does not immediately scroll down to section
2016-10-03 11:39:16 +02:00
J08nY 6b283ae293
PopupMenu: added toggle_item_checked and exposed set_item_tooltip and get_item_tooltip 2016-10-01 16:50:53 +02:00
Andreas Haas f81d009525
Add inline ColorPicker to Script text editor.
Adds an option to the script editor context menu that lets you open
a ColorPicker in order to easily edit `Color()` constructors.
To do this, right click on the word `Color` and select `Pick Color`.

A side effect of this change is that the script editor now has its own
context menu instead of re-using the one from TextEdit.
It's now possible to indent left/right and to toggle comments via this menu.
I also felt free to make it more context-sensitive than before:
Now "Cut" and "Copy" will only be shown if text has actually been selected.

I also added default shortcuts for indent left/right. (alt + left/right)

Closes #6232
2016-09-29 09:12:45 +02:00
Pawel Kowal 3edc0a4832 LineEdit long indicator, fix #6624 2016-09-28 22:05:34 +02:00
Błażej Szczygieł 5585bc1c38 Don't crash when video is stopped and played again 2016-09-28 13:39:06 +02:00
Pawel Kowal dd4f2a2ccb Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK 2016-09-19 23:07:24 +02:00
Andreas Haas 9c71e5a9df
Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.
Fixes #6466
2016-09-19 14:17:48 +02:00
Pawel Kowal 9e5aaa27bc Add scrolling to Tree control in Drag and Drop mode 2016-09-17 21:29:55 +02:00
Brickcaster cc7bc07e33 Fix for issue #6496
Canged order of NOTIFICATION_DRAW to update scrollbar before scrollbar
is checked to see which list elements to display.
2016-09-16 11:25:07 -04:00
sanikoyes b548ef0009 fix ScrollContainer cannot scroll when scroll bar is hidden 2016-09-13 11:50:41 +08:00
Juan Linietsky 37f1e86108 Do ctrl-click on any code identifier to go to definiton or help page. 2016-09-12 10:53:31 -03:00
Juan Linietsky b874cede20 Add argument options for the theme override functions in Control 2016-09-11 11:48:31 -03:00
Juan Linietsky 95eb7466df -Added a ColorFrame control, kind of like Texture but for color.
-Added dropping nodes to text editor for them to become a path
-Fixed issues with font not properly being set in code editor
2016-09-11 11:28:01 -03:00
Juan Linietsky 1bf684cea2 -Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons
-Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
2016-09-11 10:05:46 -03:00
Juan Linietsky 65b93d177e -Added bindings to the resource filesystem for editor
-Added set_child_rect, which was unavailable for script
2016-09-10 17:34:27 -03:00
Juan Linietsky fc61eb37ce Merge pull request #5920 from 29jm/fix-warnings
Fix some more warnings
2016-09-10 12:21:02 -03:00
Juan Linietsky 026c7913cf Merge pull request #5942 from pkowal1982/scroll
ScrollContainer expand children bug fix
2016-09-10 12:14:33 -03:00
Paulb23 63fd8f863b Added get_v_scroll to item list, issue 5343 2016-09-09 15:20:57 +01:00
George Marques c73bef1562 Merge pull request #6423 from bebae/issue-6143
fixed wrong placement of AcceptDialog Buttons issue-6143
2016-09-07 23:47:48 -03:00
MarianoGNU ae4f7cbc2c Explicitly initialize TextureProgress's initial angle value.
(Hopefully)
Fixes #3856
Fixes #6426
Fixes #6344
2016-09-07 20:00:10 -03:00
bebae dd9189aac4 fixed wrong placement of AcceptDialog Buttons issue-6143 2016-09-07 20:49:53 +02:00
Rémi Verschelde a40309b532 Merge pull request #6420 from Paulb23/itemlist_tooltip_disable_issue_6240
Itemlist tooltip disable issue 6240
2016-09-07 20:42:26 +02:00
Paulb23 62a968b1c6 Ability to disable item list tooltip, issue 6240 2016-09-07 18:13:22 +01:00
Rémi Verschelde b48e6230f4 LineEdit: Quick fix to set_expand_to_text_length argument name 2016-09-07 08:52:42 +02:00
Juan Linietsky 405f6af79c -Added diectly editable expressions on node to VSEditor, closes #6392
-Added ability for LineEdit to expand to fit text
2016-09-06 20:34:24 -03:00