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

Allow for list view #26

Open
georgie91 opened this issue Apr 3, 2024 · 1 comment
Open

Allow for list view #26

georgie91 opened this issue Apr 3, 2024 · 1 comment

Comments

@georgie91
Copy link

Hello, awesome project. Could you point me in the direction within the 1000s of beautiful lines of code where you set up the view for the files/folder grid? I'd like to take a crack at adding a list/detail styled view. Thanks!

@cubiclesoft
Copy link
Owner

The styles/layout are all managed in CSS. Medium icon view, which is what this widget uses, displays slightly more items on a single screen than a detail/list view can. Detail/list view also won't work on mobile devices - at least not the way Windows itself lays out information.

As to the code itself, you're looking for SyncCurrFolderToDOM() where items get created and attached to the DOM using CreateNode() and appendChild().

I'm not all that open to major/dramatic changes to the widget. See: #9

There are a ton of nuances beyond adding a new view and there's a high probability the existing code will break.

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

No branches or pull requests

2 participants