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

Component layout proposal for landscape view / high res #1

Open
kamelie1706 opened this issue Oct 12, 2023 · 5 comments
Open

Component layout proposal for landscape view / high res #1

kamelie1706 opened this issue Oct 12, 2023 · 5 comments

Comments

@kamelie1706
Copy link

Hi,

Fantastic project!
Any hope to get a layout more suitable to landscape/high res screen such as this

Screenshot 2023-10-12 162121

Ideally would be we could move the different components as we wish ... It is a long time I have not dealt with HTML but was under impression could be done in HTML5
https://www.w3schools.com/howto/howto_js_draggable.asp

@benchmarko
Copy link
Owner

Good idea!
The virtual keyboard is already movable... ;)
I was also thinking about different views for coding and game play.

@kamelie1706
Copy link
Author

Indeed realized it after! I could not move it on the side to the output screen only up and down but I guess this is just how it is coded now in html layout

@benchmarko
Copy link
Owner

I experimented a bit with moving the components, now it's close to your suggestion (index2.html):
https://benchmarko.github.io/CPCBasicTS/index2.html?showKbd=true&showVariable=true
cpcbasicts_layout2

Could still be improved, e.g. the keyboard is a bit too wide.
On narrow screens (or mobiles), the right area is attached at the bottom. Now with additional functions in between, not so optimal.

I'm thinking about putting the CPC screen on the left. And replacing the open/collapse buttons with settings buttons.

@kamelie1706
Copy link
Author

Looks great!

@benchmarko
Copy link
Owner

After some UI changes you can now drag elements (v0.2.6). This needs to be activated under "View".

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