Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll box widget #96

Draft
wants to merge 31 commits into
base: main
Choose a base branch
from
Draft

Scroll box widget #96

wants to merge 31 commits into from

Conversation

hcabel
Copy link

@hcabel hcabel commented Oct 19, 2024

⚠️ #78 need to be merged first

Adding a ScrollBox widget
scroll_bar_demo
(also the bar disappear if there is no content clipped)

At the moment, the ScrollBar is being recalculated every frame.
It's far from being efficient, but I don't know how to react to UI being resized
I recon we could refresh on scroll and windows resizing event, but there's still cases were it might break (e.g pane_layout resize)

hcabel and others added 30 commits October 13, 2024 00:37
Basic asset browser UI
- Replicate the asset directory on disk
- Auto sync
- Folder navigation
Quickly made icons to display on the asset button of the asset browser
Bevy doesn't support SVG loading yet, but I'll included them for when it's fixed
I've also rework the AssetBrowserPathLocation structure to be more flexible and easy to use
Basic asset browser UI
- Replicate the asset directory on disk
- Auto sync
- Folder navigation
Quickly made icons to display on the asset button of the asset browser
Bevy doesn't support SVG loading yet, but I'll included them for when it's fixed
I've also rework the AssetBrowserPathLocation structure to be more flexible and easy to use
Change TextBundle to Text
Those are now deprecated
(I already done the TextBundles, but for some reason these one didn't show warnings before)
forgot to spawn, the handle to resize the left column
Remove Style in favor of Node/ComputeNode
Remove Style in favor of Node/ComputeNode
I wish it was the ScrollBox EntityCommand itself, but I couldn't make it work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant