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

part of the UI is cut off #5

Open
RafaelDee opened this issue Aug 16, 2020 · 3 comments
Open

part of the UI is cut off #5

RafaelDee opened this issue Aug 16, 2020 · 3 comments

Comments

@RafaelDee
Copy link

hey Carykh! your UI is too big
image

i tried using the scale(0.5) int the draw method but it didnt work

tried chanding the window resolution in the setup() to size(1280,720);

tried changing the drawUI scale to scale(0.75) it work but the buttons click is still on the original scale

image

i think this means you need to import this to unity or something hahaha
makes it easier for rendering stuff

@RafaelDee
Copy link
Author

RafaelDee commented Aug 16, 2020

FINALLY I SOLVED IT
this compiler is not friendly to other types of resolutions
you need to CHANGE THE:
-text size
-X&Y coords
-Width&Height
-ScreenResolution

image

if the changes still not make it
change this variables
double[] genomeListDims = {70,330,260,350};
double[] editListDims = {350,330,180,250};
X Y W H
heres the source code for those people that have 18" screens
virus.zip
replace the virus.pde with that file
Compare the 2 files on https://text-compare.com/ to check what i changed

@RafaelDee RafaelDee changed the title DrawUI scale too big or not matching the window size part of the UI is cut off Aug 21, 2020
@Conando025
Copy link

Conando025 commented Sep 5, 2020

take a look at my fix in issue #4
and if you think your solution is better so be it but then you should have closed the issue ;)

@captainretro01
Copy link

its too short for my screen plz help

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

3 participants