Commit graph

664 commits

Author SHA1 Message Date
Zher Huei Lee fae2863a5e Added support for tooltips in ButtonArray. Fixes #6597
(cherry picked from commit 38caa4ef91)
2016-10-30 14:51:30 +01:00
volzhs 728ac94313 Add "button_selected" signal to ButtonGroup
(cherry picked from commit 870ed6f2fa)
2016-10-17 20:48:36 +02:00
Zher Huei Lee a8502ae6f6 Fixes for ButtonArray
Fixed hover sometimes not resetting when mouse leaves widget.
Fixed text position not taking into account stylebox's content margins.

(cherry picked from commit f5830e0973)
2016-10-17 20:48:25 +02:00
Anthony Fieroni f250c0cf50 Button focus hovering
Signed-off-by: Anthony Fieroni bvbfan@abv.bg
(cherry picked from commit 6d21fd42d3)
2016-10-17 20:43:36 +02:00
Mateusz Adamczyk 58e2652f94 Place child control under label in AcceptDialog.
Fixes #6199.

(cherry picked from commit 3ef2722904)
2016-10-17 20:42:51 +02:00
Andreas Haas 9e20b39b3d 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

(cherry picked from commit 6dfa405eac)
2016-10-09 17:39:56 +02:00
Andreas Haas 0462bf01a2 Prevent crash on focus change when no valid next control has been found.
Fixes the crash discussed in #6714.

(cherry picked from commit 8dd026e4f9)
2016-10-09 17:39:39 +02:00
J08nY ef0bcc7e20 PopupMenu: added toggle_item_checked and exposed set_item_tooltip and get_item_tooltip
(cherry picked from commit 6b283ae293)
2016-10-09 17:26:14 +02:00
Pawel Kowal d7925ca09d LineEdit long indicator, fix #6624
(cherry picked from commit 3edc0a4832)
2016-10-09 17:23:02 +02:00
Błażej Szczygieł d613952300 Don't crash when video is stopped and played again
(cherry picked from commit 5585bc1c38)
2016-10-09 17:22:54 +02:00
Andreas Haas d3b549f2a3 Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.
Fixes #6466

(cherry picked from commit 9c71e5a9df)
2016-10-09 17:17:54 +02:00
Pawel Kowal 4ca83c635f Add scrolling to Tree control in Drag and Drop mode
(cherry picked from commit 9e5aaa27bc)
2016-10-09 17:17:04 +02:00
Brickcaster e6d49fb54c Fix for issue #6496
Canged order of NOTIFICATION_DRAW to update scrollbar before scrollbar
is checked to see which list elements to display.

(cherry picked from commit cc7bc07e33)
2016-10-09 17:11:54 +02:00
sanikoyes ec32c33799 fix ScrollContainer cannot scroll when scroll bar is hidden
(cherry picked from commit b548ef0009)
2016-09-18 23:20:37 +02:00
Pawel Kowal 2b43d0a028 ScrollContainer expand children bug fix
(cherry picked from commit 853161a000)
2016-09-18 23:16:33 +02:00
Paulb23 04ade4d639 Added get_v_scroll to item list, issue 5343
(cherry picked from commit 63fd8f863b)
2016-09-18 23:13:34 +02:00
MarianoGNU 85eca7bc93 Explicitly initialize TextureProgress's initial angle value.
(Hopefully)
Fixes #3856
Fixes #6426
Fixes #6344

(cherry picked from commit ae4f7cbc2c)
2016-09-18 23:12:48 +02:00
bebae 2e6ce4b362 fixed wrong placement of AcceptDialog Buttons issue-6143
(cherry picked from commit dd9189aac4)
2016-09-18 23:12:39 +02:00
Paulb23 0aad82e921 Ability to disable item list tooltip, issue 6240
(cherry picked from commit 62a968b1c6)
2016-09-18 23:12:23 +02:00
Waldson Patrício 73b40d1457 Fixes LineEdit text selection with mouse selecting more than intended
(cherry picked from commit 3d84973184)
2016-09-18 23:02:57 +02:00
volzhs 265715f5b2 Show last added action on Input Map and implement InputEvent "=="
(cherry picked from commit 2e5a4cb5ca)
2016-09-01 08:45:37 +02:00
George Marques a21b9caa2a Add button_down and button_up signals
(cherry picked from commit 8a1b1ab6d6)
2016-09-01 08:44:45 +02:00
Mason Ashbridge 07caf4438d Slider value accounts for grabber offset
(cherry picked from commit fb54ba6397)
2016-09-01 08:43:59 +02:00
volzhs 6df46803a7 Make LineEdit not to cover whole line when rename node
(cherry picked from commit ff22db3b21)
2016-09-01 08:42:49 +02:00
Ignacio Etcheverry 1a53c4d3c2 Confirm code completion with numpad key ENTER
(cherry picked from commit e9f9e00bd9)
2016-09-01 08:38:34 +02:00
Zher Huei Lee af6ef01c69 Added extra spacing support for DynamicFont
Side effect is that label min-size will now take into account
kerning.
2016-08-02 11:05:20 +01:00
Paulb23 740dea7de7 Exposed enable syntax highlighting to properties 2016-07-28 15:47:47 +01:00
Ignacio Etcheverry 35cb8ff89e LineEdit: Fix event handled as text when a mod key is pressed 2016-07-27 19:32:46 +02:00
Juan Linietsky 542bd81e76 Merge pull request #5926 from akien-mga/pr-graphedit-drag
Fix GraphEdit dragging issues at scales != 1
2016-07-26 18:49:51 -03:00
Rémi Verschelde 60e19f7751 Fix GraphEdit dragging issues at scales != 1
Works around the issue originally described in #5907 (that was then
hijacked to describe the broader issue it exposes).
2016-07-26 23:19:41 +02:00
Juan Linietsky 9151eb591d Changed the way the step decimals are computed to a safer way, fixes many issues. 2016-07-26 17:25:10 -03:00
Juan Linietsky 0b75f894c3 Merge pull request #5746 from Ovnuniarchos/FileDialogExposed
Corrections and additions to FileDialog
2016-07-24 12:36:05 -03:00
Rémi Verschelde 8fbe804bd1 Merge pull request #5884 from 29jm/fix-crash-graphnode
Fix crash when GraphNode wasn't a child of a Control
2016-07-24 00:37:20 +02:00
Johan Manuel 580b4465c6 Fix crash when GraphNode wasn't a child of a Control 2016-07-24 00:25:32 +02:00
Rémi Verschelde ebefdaa598 Merge pull request #5737 from neikeq/pr-issue-5269
TextEdit: Scroll search results to the center
2016-07-23 22:54:32 +02:00
MarianoGNU f00e0b589f Fix pick color from screen. Closes #5853 2016-07-22 20:35:12 -03:00
Johan Manuel 1a1342670e Fix ItemList.clear() not removing separators 2016-07-22 16:45:57 +02:00
Robert Lewicki b1df9e016c Fixed ItemList indexing bug while selecting items.
Also added functionality for unselecting items in itemlist while clicking in empty space.
Fixes #5772.
2016-07-22 16:28:37 +02:00
Rémi Verschelde 51b03f0bf5 Fix binding for ItemList.sort_items_by_text
Also forces to recompute the cached rect for all items.
Fixes #5799
2016-07-22 08:08:17 +02:00
Juan Linietsky 93c3c801db properly implement item disabling, fixes #5683 2016-07-21 18:24:56 -03:00
Rémi Verschelde 40d78c2144 Merge pull request #5829 from 29jm/master
Fix the rotation not updating in the inspector with Controls
2016-07-21 09:09:58 +02:00
Rémi Verschelde 750b973ee4 Merge pull request #5200 from neikeq/sc-CanvasItemEditor
Implement ShortCuts in CanvasItemEditor
2016-07-21 09:02:01 +02:00
Ignacio Etcheverry fc16954fa2 TextEdit: Center search results 2016-07-21 03:40:08 +02:00
Ignacio Etcheverry 4e82f9ffcf Implement missing ShortCuts in CanvasItemEditor 2016-07-21 03:28:41 +02:00
Johan Manuel fc4ace3120 Fix the rotation not updating in the inspector with Controls 2016-07-21 00:26:36 +02:00
Rémi Verschelde 17f86eee33 Merge pull request #5792 from neikeq/pr-issue-3868
Label: Added `get_visible_line_count` method
2016-07-19 07:38:06 +02:00
Rémi Verschelde 569541bafc Merge pull request #5790 from neikeq/pr-issue-1149
MenuButton: Fix event propagation with dialogs
2016-07-19 07:36:25 +02:00
Juan Linietsky b49476a011 Merge pull request #5731 from neikeq/pr-issue-5642
LineEdit: Fix rtl scrolling with mouse drag selection
2016-07-18 19:29:24 -03:00
Ignacio Etcheverry 78819b6b54 Label: Added get_visible_line_count method 2016-07-18 23:33:06 +02:00
Ignacio Etcheverry c45837cf3f MenuButton: Fix event propagation with dialogs 2016-07-18 23:06:14 +02:00