virtualx-engine/scene/gui
GrammAcc d63a88bef1 AssetLib: Fix long plugin names breaking the UI
The UI was extending past the screen width when loading a page diplaying
a plugin with an especially long title in the asset store plugin.

I implemented a new `EditorAssetLibraryItem::clamp_width` method that
checks that the title text is not longer than the column width minus
some padding and truncates it if it is.

I also noticed that the nav buttons for paginated results were causing the UI to extend past
the screen width on higher editor scales since they were hardcoded to
show ten page buttons if there were enough results. I modified the
pagination slightly to display a dynamic number of nav buttons based on
the editor scale in order to fix this other cause of the same problem.

I had to use the font of the `title`, which is a `LinkButton` in order
to determine the text width, so I added a public getter `get_button_font` to the `LinkButton` class.
2023-09-30 18:16:39 -05:00
..
aspect_ratio_container.cpp Fix crash with AspectRatioContainer and TextureRect 2023-02-16 14:35:09 +01:00
aspect_ratio_container.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
base_button.cpp Rename button_pressed bindings to avoid shadowing 2023-07-05 18:38:18 +02:00
base_button.h Add option for ButtonGroups to be unpressed 2023-04-20 17:09:39 -06:00
box_container.cpp Use BitField<> hint for ArrayFormat 2023-01-08 18:47:48 +01:00
box_container.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
button.cpp Fix Button text when overrun is not trim nothing 2023-08-08 15:08:28 +08:00
button.h Make TextureButton and Button update on texture change 2023-05-29 16:40:56 +02:00
center_container.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
center_container.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
check_box.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
check_box.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
check_button.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
check_button.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
code_edit.compat.inc Fix or workaround recent extension API compatibility issues 2023-08-03 12:07:21 +02:00
code_edit.cpp Fix CodeEdit completion being very slow in certain cases 2023-08-10 08:15:41 +02:00
code_edit.h Fix or workaround recent extension API compatibility issues 2023-08-03 12:07:21 +02:00
color_mode.cpp Merge pull request #79037 from dinoplane/move-cached-values 2023-07-12 21:02:47 +02:00
color_mode.h Moved HSV and OKHSL caching logic into color_mode 2023-07-05 07:15:58 -07:00
color_picker.cpp Merge pull request #78468 from KoBeWi/enmarginalization 2023-08-08 16:55:32 +02:00
color_picker.h Merge pull request #78468 from KoBeWi/enmarginalization 2023-08-08 16:55:32 +02:00
color_rect.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
color_rect.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
container.cpp Merge pull request #78009 from YuriSizov/gui-gently-massage-minimal-size 2023-06-12 14:14:20 +02:00
container.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
control.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
control.h Expose Control::_get_drag_data() as non-const function 2023-05-24 06:09:45 +09:00
dialogs.cpp Support controller input on popup/dialogs 2023-08-13 17:32:08 +01:00
dialogs.h Hide/show AcceptDialog's button spacer on button visibility changed 2023-07-11 12:18:46 +02:00
file_dialog.cpp [Windows] Implement native file selection dialog support. 2023-07-18 17:23:58 +03:00
file_dialog.h [macOS] Implement optional native file selection dialog support for sandboxed apps. 2023-07-12 22:36:24 +03:00
flow_container.cpp Use BitField<> hint for ArrayFormat 2023-01-08 18:47:48 +01:00
flow_container.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
graph_edit.cpp Clean up/refactor GraphEdit 2023-07-24 18:37:23 +02:00
graph_edit.h Make GraphEdit's cpp virtuals equal to gdscript. 2023-08-09 00:21:35 +08:00
graph_edit_arranger.cpp Clean up/refactor GraphEdit 2023-07-24 18:37:23 +02:00
graph_edit_arranger.h Clean up/refactor GraphEdit 2023-07-24 18:37:23 +02:00
graph_node.cpp Clean up/refactor GraphEdit 2023-07-24 18:37:23 +02:00
graph_node.h Remove GraphNode's comment property and related functionality 2023-07-11 02:05:25 +02:00
grid_container.cpp Use BitField<> hint for ArrayFormat 2023-01-08 18:47:48 +01:00
grid_container.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
item_list.cpp ItemList: Clarify distinction between disabled and selected in sending signals 2023-08-17 10:34:18 +02:00
item_list.h Add get_item_rect function to ItemList 2023-05-11 19:01:54 +02:00
label.cpp Merge pull request #77280 from Rindbee/fix-unnecessary-break-in-Label 2023-08-02 12:15:24 +02:00
label.h [Label] Add support for tab stops. 2023-06-09 12:59:37 +03:00
line_edit.cpp [TextServer] Fix system font fallback and caret/selection behavior for composite characters. 2023-08-15 11:42:40 +03:00
line_edit.h [TextServer] Fix system font fallback and caret/selection behavior for composite characters. 2023-08-15 11:42:40 +03:00
link_button.cpp AssetLib: Fix long plugin names breaking the UI 2023-09-30 18:16:39 -05:00
link_button.h AssetLib: Fix long plugin names breaking the UI 2023-09-30 18:16:39 -05:00
margin_container.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
margin_container.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
menu_bar.cpp Add option to allow echo events in menu shortcuts 2023-08-16 16:59:17 +02:00
menu_bar.h Removed unused property hints and Object::get_translatable_strings() 2023-01-09 16:56:01 +01:00
menu_button.cpp Add option to allow echo events in menu shortcuts 2023-08-16 16:59:17 +02:00
menu_button.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
nine_patch_rect.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
nine_patch_rect.h Make NinePatchRect listen to texture changes 2023-06-20 08:40:35 +02:00
option_button.cpp Merge pull request #80203 from WhalesState/Dev2 2023-08-17 11:24:14 +02:00
option_button.h Add shortcut handling to OptionButton 2023-08-03 08:38:20 +00:00
panel.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
panel.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
panel_container.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
panel_container.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
popup.cpp Support controller input on popup/dialogs 2023-08-13 17:32:08 +01:00
popup.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
popup_menu.compat.inc Add option to allow echo events in menu shortcuts 2023-08-16 16:59:17 +02:00
popup_menu.cpp Add option to allow echo events in menu shortcuts 2023-08-16 16:59:17 +02:00
popup_menu.h Add option to allow echo events in menu shortcuts 2023-08-16 16:59:17 +02:00
progress_bar.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
progress_bar.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
range.cpp Use NULL instead of COND checks when appropriate 2023-06-10 08:56:30 +02:00
range.h Merge pull request #70834 from pattlebass/spinbox-doesnt-spin 2023-04-12 17:01:11 +02:00
reference_rect.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
reference_rect.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
rich_text_effect.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
rich_text_effect.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
rich_text_label.cpp [RTL] Use list iterators for item/paragraph removal. 2023-08-25 17:49:13 +03:00
rich_text_label.h [RTL] Adds "lang" tag to allow overriding language specific text rendering without starting a new paragraph. 2023-08-21 14:56:43 +03:00
scroll_bar.cpp [RTL] Improve scroll bar responsiveness during updates. 2023-08-14 11:36:05 +03:00
scroll_bar.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
scroll_container.cpp Expose horizontal/vertical custom_step as editor property for the ScrollContainer 2023-04-29 23:56:59 +02:00
scroll_container.h Expose horizontal/vertical custom_step as editor property for the ScrollContainer 2023-04-29 23:56:59 +02:00
SCsub
separator.cpp Clean-up, harmonize, and improve StyleBox API 2023-01-19 20:02:21 +03:00
separator.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
slider.cpp Fix disabled slider highlighting 2023-07-08 00:42:57 +03:00
slider.h Merge pull request #63168 from Levrault/master 2023-06-05 18:04:39 +02:00
spin_box.cpp Preserve selection when focusing SpinBox 2023-06-10 21:29:24 +02:00
spin_box.h Merge pull request #70834 from pattlebass/spinbox-doesnt-spin 2023-04-12 17:01:11 +02:00
split_container.cpp Fix SplitContainer rendering and theming 2023-01-22 16:34:56 +01:00
split_container.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
subviewport_container.cpp Refactor mouse_entered and mouse_exited notifications 2023-08-01 13:28:49 +02:00
subviewport_container.h Make SubViewportContainer event propagation aware of focused Control 2023-07-17 22:38:35 +02:00
tab_bar.cpp Fix delay on tab resizing when (un)hovering tabs 2023-06-27 20:33:13 -03:00
tab_bar.h Merge pull request #74632 from davthedev/tabs-hover 2023-04-24 16:42:38 +02:00
tab_container.cpp Use NULL instead of COND checks when appropriate 2023-06-10 08:56:30 +02:00
tab_container.h Merge pull request #76374 from OverloadedOrama/more-tab-container-signals 2023-04-24 16:48:01 +02:00
text_edit.cpp Fixes a text find perf issue, if can't find any 2023-08-20 21:48:25 +08:00
text_edit.h [TextServer] Fix system font fallback and caret/selection behavior for composite characters. 2023-08-15 11:42:40 +03:00
texture_button.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
texture_button.h Make TextureButton and Button update on texture change 2023-05-29 16:40:56 +02:00
texture_progress_bar.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
texture_progress_bar.h TextureProgressBar Update upon texture changes 2023-04-01 00:16:43 +02:00
texture_rect.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
texture_rect.h Add expand mode compat to TextureRect 2023-01-13 19:16:49 +01:00
tree.cpp GUI: Fix text overlapping icon in Tree 2023-08-24 22:09:02 +03:00
tree.h GUI: Fix text overlapping icon in Tree 2023-08-24 22:09:02 +03:00
video_stream_player.cpp Use StringName consistently to refer to the Master audio bus name 2023-08-07 18:06:17 +02:00
video_stream_player.h Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
view_panner.cpp Fix the issue preventing dragging in the 2D and visual shader editor 2023-03-19 12:36:36 -07:00
view_panner.h Add gesture to ViewPanner and simplify a bit its API 2023-01-23 16:43:53 +01:00