nathanwfranke
b95a2306db
Fix tab container too large when tabs are hidden
...
(cherry picked from commit c0a84f747e
)
2020-03-25 11:38:54 +01:00
Rémi Verschelde
a7f49ac9a1
Update copyright statements to 2020
...
Happy new year to the wonderful Godot community!
We're starting a new decade with a well-established, non-profit, free
and open source game engine, and tons of further improvements in the
pipeline from hundreds of contributors.
Godot will keep getting better, and we're looking forward to all the
games that the community will keep developing and releasing with it.
2020-01-01 11:16:22 +01:00
Michael Alexsander Silva Dias
94ad89a5fb
Fix various problems with tab-related icons
2019-09-22 23:08:14 -03:00
Rémi Verschelde
ca652bbc47
Merge pull request #25353 from azagaya/master
...
Use also invisible tabs to calculate minimum size of tab container
2019-08-30 13:58:37 +02:00
azagaya
fa6f86b886
Make tab containers in editor, project settings, and export dialog, to use hidden tabs for min size computation.
2019-08-30 08:33:32 -03:00
Florian Kothmeier
65101c9a20
Translate TabContainer titles, when inherited from node name
2019-07-29 19:07:56 +02:00
Michael Alexsander Silva Dias
a242bf464a
Fix 'TabContainer' not updating its tab titles when locale is changed
2019-05-06 01:59:34 -03:00
Michael Alexsander Silva Dias
37f4d51a75
Make 'TabContainer' update when icon/title is changed
...
Fixes #28655 .
2019-05-03 14:55:32 -03:00
Michael Alexsander Silva Dias
b8e09f98c4
Make buttons that trigger popups have the same scale
2019-04-29 13:07:47 -03: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
groud
a1f955a1d3
Updates containers minimum size when some constants are modified
2019-01-24 22:31:33 +01:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Rémi Verschelde
277b24dfb7
Make core/ includes absolute, remove subfolders from include path
...
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
Max Hilbrunner
c488a74e0c
Merge pull request #19498 from guilhermefelipecgs/fix_regression
...
Fix "find and replace" initializing with wrong size
2018-07-05 04:23:18 +02:00
Guilherme Felipe
5bae3693bf
Fix "find and replace" initializing with wrong size
...
Fix the code editor outside the allowed limits.
2018-06-13 14:08:04 -03:00
Guilherme Felipe
b904c37a54
Fix TabContainer not showing tabs on left when resizing.
...
Fix #19510 .
2018-06-12 15:59:53 -03:00
ianb96
9ac3c474b8
Drag to rearrange Tabs and TabContainer
2018-04-08 20:23:37 -04:00
volzhs
df84290a7e
Keep to show current script when closing all docs
...
also fix error when removing multiple tabs from TabContainer at same frame.
like closing multiple docs at once.
Fix #16403
2018-02-20 14:39:52 +09:00
Rémi Verschelde
e4213e66b2
Add missing copyright headers and fix formatting
...
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Rémi Verschelde
b50a9114b1
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
volzhs
79de82f7d0
Fix Index p_current=0 error at starting editor
2017-12-11 20:46:33 +09:00
sanikoyes
b3f5d119aa
Fix crash when click an empty tabs container
2017-10-30 20:20:51 +08:00
santouits
c91c22b1f3
tab container arrows don't work when a popup was set
2017-10-14 11:03:27 +03:00
toger5
814c50106b
Vertical alignement (TabContainer menu button)
2017-09-29 13:23:11 +02:00
Gilles Roudiere
05bb8e0c10
Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
2017-09-22 11:39:44 +02:00
Rémi Verschelde
c24ca2c7a8
Merge pull request #10900 from toger5/theme_tab_border
...
Added border for tabs + container.
2017-09-17 12:41:36 +02:00
toger5
10c400c456
Added border for tabs + container.
...
- moved tabConetent position to be more reasonable.
- fixed drawing order to allow those kind of styles.
2017-09-15 00:50:34 +02:00
Maxim Sheronov
0fffa45158
Fix enums bindings
...
Add missed bindings for enums
Move some enums to class to have correct output of api.json
2017-09-13 20:57:07 +03:00
Rémi Verschelde
bd282ff43f
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:16:55 +02:00
Hein-Pieter van Braam
cacced7e50
Convert Object::cast_to() to the static version
...
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.
This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.
It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
Rémi Verschelde
18a7315381
Rename localization method to `tr` again
...
Partial revert of #10380 based on contributor ~~bullying~~ feedback.
2017-08-18 22:38:38 +02:00
Rémi Verschelde
c72529baf0
Rename `XL_MESSAGE` aka `tr` to `localize`
...
Also renames `set_message_translation` to `set_message_localization`
for consistency.
2017-08-17 18:10:22 +02:00
TwistedTwigleg
00f6c85928
Synchronize parameter names in definition and declaration
...
Fixes #10244 .
2017-08-16 17:22:23 +02:00
Gilles Roudiere
0d35d4d53b
Replace GUI anchor type by a float between 0 and 1
2017-08-13 21:20:13 +02:00
Ignacio Etcheverry
2f290038d6
Removes type information from method binds
2017-08-10 07:17:50 +02:00
alexholly
a3c90b0293
renamed all Rect2.pos to Rect2.position
2017-06-04 02:09:17 +02:00
Andreas Haas
9bc5348961
InputEvent: Renamed "pos" property to "position"
...
Make the naming consistent with other classes.
2017-06-03 11:26:39 +02:00
Juan Linietsky
5b3709d309
Removal of InputEvent as built-in Variant type..
...
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
volzhs
17e8e343fb
Revert "Add new editor and default theme (WIP)"
...
This reverts commit f045efe007
.
2017-05-03 06:19:15 +09:00
Daniel J. Ramirez
f045efe007
Add new editor and default theme (WIP)
2017-04-27 08:04:57 +02:00
Sergey Pusnei
8589ca3903
Rename [gs]et_pos to [gs]et_position for Controls
...
Control set_pos -> set_position
Control set_global_pos -> set_global_position
[gs]et_mouse_pos -> [gs]et_mouse_position
[gs]et_global_mouse_pos -> [gs]et_global_mouse_position
fixes #8005
2017-04-10 08:27:34 +02:00
Rémi Verschelde
df61dc4b2b
Add "Godot Engine contributors" copyright line
2017-04-08 00:11:42 +02:00
Rémi Verschelde
5dbf1809c6
A Whole New World (clang-format edition)
...
I can show you the code
Pretty, with proper whitespace
Tell me, coder, now when did
You last write readable code?
I can open your eyes
Make you see your bad indent
Force you to respect the style
The core devs agreed upon
A whole new world
A new fantastic code format
A de facto standard
With some sugar
Enforced with clang-format
A whole new world
A dazzling style we all dreamed of
And when we read it through
It's crystal clear
That now we're in a whole new world of code
2017-03-05 16:44:50 +01:00
Thaer Razeq
c9bda06dfd
- `tab_changed` signal emits only by selecting a different tab.
...
- Added `tab_selected` signal. Which emits a signal by selecting any tab, if current tab is selected again.
- Added `get_previous_tab()`. Which returns the previous shown tab. **Note:** only `tab_changed` can modify previous tab index.
- Add documentation for the added function and signals. Fix a typo too.
2017-03-05 02:47:09 -06:00
Ray Koopa
5cf063ca9d
Add disabled tabs
2017-02-27 19:07:50 +01:00
Ray Koopa
fc9077a213
Fix several drawing and logic issues in TabContainer
2017-02-27 15:47:47 +01:00
Hein-Pieter van Braam
411ee71b4d
Rename the _MD macro to D_METHOD
...
This new name also makes its purpose a little clearer
This is a step towards fixing #56
2017-02-13 12:50:02 +01:00
Hein-Pieter van Braam
0f687f0ccb
Remove use of _SCS from ADD_METHOD
...
This saves typing and is a step towards fixing #56
2017-02-13 10:37:47 +01:00
Rémi Verschelde
f44ee891be
Style: Fix statements ending with ';;'
2017-01-16 08:49:52 +01:00
Juan Linietsky
04c749a1f0
New API for visibility in both CanvasItem and Spatial
...
visible (property) - access set_visible(bool) is_visible()
is_visible_in_tree() - true when visible and parents visible
show() hide() - for convenience
2017-01-13 10:45:50 -03:00