summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2019-11-26Range: Remove min/max check added in #33908Rémi Verschelde
This wasn't a very good idea as it puts too strict requirements on how to set `min` and `max` values. For example, since the default min and max are 0 and 100, this triggers an error: ``` set_min(256) set_max(16384) ``` Since `min` will be higher than `max` temporarily. It can be worked around by setting max first, but it's not really intuitive. I'll relax the requirement as it's only a problem in `get_as_ratio`, which already has a check. Fix another min == max occurrence.
2019-11-26Range: Fix cases where max was set to or below min valueRémi Verschelde
It will now raise an error whenever this happens so that we can fix these situations. `max == min` is not allowed as it could lead to divisions by zero in ratios, and `max < min` doesn't make much sense. Fixes #33907.
2019-11-25Merge pull request #33869 from jbuck3/dialog-resize-bugRémi Verschelde
Fix WindowDialog moving when resized from the left/top edge
2019-11-24Fix WindowDialog moving when resized from the left/top edgeJames Buck
get_combined_minimum_size() must be used in order to consider the min size specified by the user when determining how far the left/top edge is allowed to move. Otherwise the dialog may think it can shrink further than it should, causing the right/bottom edge to move when the rect size is fixed in set_size().
2019-11-24Fixed index out of size error in TextEdit when opening scriptsPouleyKetchoupp
2019-11-20Merge pull request #33583 from qarmin/fix_overflows_unitializedRémi Verschelde
Fix some overflows and unitialized variables
2019-11-20Fix some overflows and unitialized variablesRafał Mikrut
2019-11-19GradientEdit: Fix index crasheslupoDharkael
2019-11-15Make holding Ctrl toggle snapping in GraphEditHugo Locurcio
This affects the visual script and visual shader editors as well.
2019-11-12Fixed crash when pressing down key on empty TreePouleyKetchoupp
Fixes #33554
2019-11-10Merge pull request #33516 from qarmin/small_fixesRémi Verschelde
Memory leaks and crash fixes
2019-11-10Memory leak and crash fixesRafał Mikrut
2019-11-09Fixed crash when using icon override in buttonPouleyKetchoupp
Missing change for PR #33495
2019-11-09Fixed crash when using icon override in buttonPouleyKetchoupp
Fixes #33457
2019-11-09Fixed not being able to scroll ending wrapped linePaulb23
2019-11-08Merge pull request #33052 from KoBeWi/naughty_slidersRémi Verschelde
Fix analog input in sliders
2019-11-07Fix analog input in slidersTomasz Chabora
2019-11-06Fixes ItemList max column updatecodecustard
When setting the max column of an ItemList, the layout does not update until it is resized.
2019-11-04Fixed cases where labels with autowrap can overflow the editor uiPouleyKetchoupp
Fixes #33155
2019-11-03Merge pull request #33286 from groud/fix_tree_edit_rectRémi Verschelde
Fixes the edit rect in TreeItems
2019-11-03Fixes the edit rect in TreeItemsGilles Roudiere
2019-11-02Make the editor dimming even more smarterMichael Alexsander
2019-11-02Update connection info on script validation rather then saved copyPaulb23
2019-11-01Merge pull request #33233 from hilfazer/dollar-quoted-autocompleteRémi Verschelde
$ autocompletion keeps quotation
2019-11-01$ autocompletion keeps quotationhilfazer
2019-11-01Merge pull request #33202 from nekomatata/text-edit-search-usabilityRémi Verschelde
Improved TextEdit search usability & documentation
2019-10-31Make the editor dimming smarterMichael Alexsander
2019-10-31Improved TextEdit search usability & documentationPouleyKetchoupp
2019-10-29Merge pull request #33091 from MCrafterzz/fix10567Rémi Verschelde
Improved project creation UX
2019-10-29Improved UX of selecting directories in (Editor)FileDialog by hiding unused ↵MCrafterzz
gui elements and moving the drive selection
2019-10-28Merge pull request #33120 from YeldhamDev/popup_dialog_panel_styleRémi Verschelde
Add "panel" style to PopupDialog
2019-10-28Merge pull request #33119 from creikey/fix-quote-malfunctionRémi Verschelde
Remove duplicate quote in displayed quote type
2019-10-27Add "panel" style to PopupDialogMichael Alexsander
2019-10-27Remove duplicate quote in displayed quote typeCameron Reikes
- fixes #32688 - fixes #32593
2019-10-27Merge pull request #33066 from Tabas32/fix_indentationRémi Verschelde
Fixed indenting issue with comment at end of line
2019-10-27Improve performance of connection info in the script editorPaulb23
2019-10-27Merge pull request #33032 from Calinou/filedialog-scroll-to-topRémi Verschelde
Scroll back to the top after opening a directory in FileDialog
2019-10-26Fix text minimap crash when last line is foldedPaulb23
2019-10-25Merge pull request #32870 from bergmannf/27850_rtl_bold_italicRémi Verschelde
Add push_* methods for fonts in rich_text_label
2019-10-25Just initialization, needed by compilerMarian
2019-10-25Fixed indenting issue with comment at end of lineMarian
2019-10-24Don't terminate search if begin_key doesn't fitZatherz
Previously this code would continue onto the next iteration of the loop if the line was smaller in size than begin_key, meaning that a situation where begin_key.length() > end_key.length() would cause weird behavior with newlines. Now both the checks for begin_key and end_key are in their own condition and do not skip the entire iteration if they can't be found.
2019-10-24Fix rendering tooltipvolzhs
2019-10-24Scroll back to the top after opening a directory in FileDialogHugo Locurcio
This also changes the behavior in EditorFileDialog. This closes #26041.
2019-10-24Refactor VideoPlayer and VideoStreamSeleckyErik
VideoStream: - Fix const correctenss VideoPlayer: - Remove unused member variable last_frame - Move _mix_audios function definition to source file - Fix function parameter naming to match p_ convention - Fix const correctness - Add null checking
2019-10-23Merge pull request #32972 from codecustard/fix_spinbox_not_releasingfocusRémi Verschelde
Fixes spinbox not releasing focus on value change
2019-10-22Shadows Now Properly Translate by RichTextEffect offset.Eoin O'Neill
Bugfix 32981.
2019-10-22Merge pull request #32796 from Paulb23/set_text_caretRémi Verschelde
Changed `set_text` to place caret at start of the text.
2019-10-22Merge pull request #32940 from nekomatata/text-edit-clear-colorsRémi Verschelde
TextEdit syntax highlighting fixes
2019-10-22Merge pull request #32965 from volzhs/richtextlabel-scroll-activeRémi Verschelde
Fix scrolling RichTextLabel with scroll_active=false