groud
14a901e88f
Enhance tree scrolling when dragging
2019-04-12 21:58:48 +02:00
Juan Linietsky
9f4b5a91c0
Reorganized connection dialog for much improved ease of use.
...
-Removed dest path field
-Added a "Source" signal
-Added an "Advanced" button to hide complexity
-Fix bug on Tree to make sure "ensure visible" works on hidden trees
-Fix bug on TextEdit to ensure signals created with script not open sill focus the right line
2019-04-11 23:23:24 -03:00
Rémi Verschelde
c8994b56f9
Style: Apply new changes from clang-format 8.0
...
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
2019-04-09 17:09:48 +02:00
Juan Linietsky
a20235aeb0
Add ability to edit editor feature profiles
...
Allows enabling/disabling parts of the editor and storing/loading profiles for that.
2019-04-08 19:18:51 -03:00
Rémi Verschelde
2db0613fb0
Merge pull request #25624 from nekomatata/texture-rect-flip
...
Add ability to flip TextureRect horizontally or vertically
2019-04-06 13:15:01 +02:00
Rémi Verschelde
963165065d
Merge pull request #26914 from xDGameStudios/popup_menu_add_item
...
Fixed optional idx argument in add_item (PopupMenu)
2019-04-05 16:49:19 +02:00
Rémi Verschelde
fc370b3feb
Fix -Wimplicit-fallthrough warnings from GCC 8
...
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135 .
2019-04-05 15:14:53 +02:00
Rémi Verschelde
d9b9c9f98a
Merge pull request #27567 from Calinou/selection-boxes-use-accent-color
...
Use the editor theme's accent color for 2D/3D selections and rotations
2019-04-04 17:45:01 +02:00
Rémi Verschelde
3a7a1cd4c9
Merge pull request #27596 from mo7sener/master
...
Fix: RichTextLabel Crash - meta_hover_ended
2019-04-04 17:27:34 +02:00
PouleyKetchoupp
8b84638322
Add ability to flip TextureRect horizontally or vertically
2019-04-03 13:05:29 +02:00
marxin
f9f2413e69
Fix -Wnon-virtual-dtor warnings.
...
Example of the warning:
./core/script_language.h:198:7: warning: 'class ScriptCodeCompletionCache' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor]
2019-04-02 14:07:29 +02:00
Robear Selwans
84dfb3ff2d
Fixed an issue where changing the default_cursor on the RichTextLabel's meta_hover_ended caused the entire project to crash
2019-04-02 13:59:38 +02:00
Hugo Locurcio
d59b210aec
Use the editor theme's accent color for 2D/3D selections and rotations
2019-03-31 23:54:46 +02:00
Paulb23
bfba1e36bc
Fixed not deselecting when clearing lineedit.
2019-03-31 16:32:24 +01:00
Rémi Verschelde
e02c7612e5
Merge pull request #27088 from fire/scaling_texture_button_focus
...
Fix scaling issue for texture button focus texture.
2019-03-27 16:55:07 +01:00
Rémi Verschelde
04c6347856
Merge pull request #27017 from qarmin/fix_inspector_update
...
Fix inspector update after changing anchor from buttons
2019-03-27 16:53:58 +01:00
qarmin
8b391b9ab0
Fix inspector update after changing anchor via buttons
2019-03-19 18:37:28 +01:00
Rémi Verschelde
67764bff64
Merge pull request #26788 from mo7sener/master
...
RichTextLabel: Adding the ability to change the default cursor
2019-03-16 11:08:29 -07:00
K. S. Ernest (iFire) Lee
1971c09e5e
Fix scaling issue for texture button focus texture.
2019-03-15 01:55:50 -07:00
xDGameStudios
ffc5f360e8
Fixed optional idx argument in add_item (OptionMeny & PopupMenu)
2019-03-11 11:54:12 +00:00
Bojidar Marinov
964152ed71
Fix cursor going to start while editing GraphNode's title
...
Fixes #26816
2019-03-10 12:22:15 +02:00
Robear Selwans
b852a7a854
Added the ability to change the default cursor property for the RichTextLabel component.
2019-03-08 13:33:34 +02:00
Rémi Verschelde
e28e849012
Merge pull request #21534 from volzhs/fix-scrollcontainer-size
...
Precise size calculation of ScrollContainer
2019-03-07 14:19:43 +01:00
Juan Linietsky
5f079e2ef9
-Make tileset and meshlibrary edit in a separate inspector, fixes #26671
...
-Made relationship lines appear based on theme settings, not previous hack
-Fix drawing of relationship lines (was broken)
-Fix double initialization of theme settings
2019-03-06 12:12:42 -03:00
Rémi Verschelde
4ab4ff67ff
Merge pull request #26642 from DrMoriarty/check_cursor_line
...
Check cursor line and column
2019-03-05 22:57:55 +01:00
Vasiliy Makarov
a3d9b7d916
Check cursor line and column
...
Added a trivial check if cursor.line and cursor.column are valid.
Fix #26245
2019-03-05 18:27:37 +03:00
Michael Alexsander Silva Dias
a292d1fefb
Fix general issues with filesystem-related UI components in the editor
2019-03-05 10:12:06 -03:00
Juan Linietsky
6b8b1cabae
Add a warning when using plain Container, as many users seem to misunderstand what this is.
2019-03-03 16:00:56 -03:00
Juan Linietsky
51b80f6857
Fixed some crashers, closes #26393
2019-03-01 17:24:57 -03:00
Rémi Verschelde
994bdc9adc
Merge pull request #26140 from karliss/meta-item
...
Use correct meta item in rich text.
2019-03-01 18:16:27 +01:00
Justin Vesper
079ed007c8
Fixed wrong method binding in control
...
Control.get_parent_area_size() is now bound to
Control::get_parent_area_size() instead of Control::get_size()
2019-03-01 14:16:19 +01:00
Bojidar Marinov
a7b564db6e
Fix minimum size of ProgressBar-s
...
Was a leftover from 0a1c1c660f
.
Fixes #21633 .
2019-02-27 15:56:49 +02:00
Bojidar Marinov
8dad5f1e10
Update controls when a stylebox or icon override changes; change to CONNECT_REFERENCE_COUNTED
...
Also, cleanup unnessesary calls to update() and NOTIFICATION_THEME_CHANGED.
Fixes #25904 .
2019-02-25 17:42:38 +02:00
Michael Alexsander Silva Dias
52abab5aa7
Make 'SplitContainer' update drawing only if actually needs to
2019-02-22 10:12:39 -03:00
Michael Alexsander Silva Dias
f2f09f00b7
Fix 'SplitContainer's showing their handles when they shouldn't
...
Fixes #25735 .
2019-02-21 23:01:30 -03:00
Kārlis Seņko
05f5774592
Use correct meta item in rich text.
...
Prevent incorrect static cast and unnecesarry meta_hover_ended/started
events.
2019-02-22 00:23:05 +02:00
Rémi Verschelde
47c4ec7f1d
Merge pull request #26105 from nekomatata/texture-button-mask-fix
...
TextureButton with click mask only can be clicked
2019-02-21 14:48:43 +01:00
PouleyKetchoupp
f07dfe8a3f
Fixed TextureButton click mask when no other texture is set
2019-02-21 01:11:56 +01:00
marxin
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
Rémi Verschelde
9714f701c5
Merge pull request #26089 from ianb96/word_wrap_cutoff_fix
...
Fix word wrap cutoff and tab wrapping issue
2019-02-20 16:28:43 +01:00
Rémi Verschelde
6709ff6a96
Merge pull request #26049 from vixelz/textureprogress-nineslice-fill-fix
...
Truncate first segment in TextureProgress 9slices
2019-02-20 15:23:31 +01:00
ianb96
39f537e481
Fix word wrap cutoff and tab wrapping issue
2019-02-20 08:52:33 -05:00
Kārlis Seņko
86374c0431
Allow moving LineEdit visible window left by more than one symbol.
2019-02-19 23:59:09 +02:00
Vixelz
559b8fd236
Truncate first segment in TextureProgress 9slices
...
Much in the way that TextureProgress was truncating the last segment
of the nine slice when the value wasn't close to the end, perform
similar work on the beginning segment. This fixes the beginning segment
always being drawn, sometimes in the incorrect location.
2019-02-19 08:28:32 +00:00
Rémi Verschelde
a034cac583
Merge pull request #25953 from nekomatata/fix-radial-texture-progress
...
Fixed TextureProgress in Radial Mode when using center offset
2019-02-16 22:26:06 +01:00
PouleyKetchoupp
1974f6995f
Fixed radial progress with center offset by taking distance to edge into account in uv calculation
2019-02-16 21:02:29 +01:00
qarmin
7a254b303b
Fix copy text when TextEdit is readonly
2019-02-16 07:56:24 +01:00
Rémi Verschelde
fe7d2dc4d3
Revert "Fix MenuButton item label disappearing when setting shortcut."
2019-02-15 11:44:27 +01:00
Unknown
3236c9a0e7
Fix MenuButton item label disappearing when setting shortcut.
2019-02-14 23:17:29 +01:00
Rémi Verschelde
b340b7e804
Merge pull request #25422 from azagaya/optionbutton
...
Fix docs about item_selected and item_focused . Fixes #25273
2019-02-13 20:31:53 +01:00