Display Styles
Acenewton1
30 Oct 2018, 21:35Hi there!
I'm having some issues with my display set. Now where it says the name of the game, and the subtitle, etc i would all like to be moved to the left. I know how to change this in an HTML but not in Quest it'self. Basically I want to turn it into a landscape instead of Portrait mode and move the text all the way to the left.
Here's an example of a successful HTML code I want:
https://puu.sh/BTzRh/e7541b9af3.png
Not sure how to copy paste the HTML. but anyways, this is what the HTML is and this is the screen I would LIKE to have:
https://puu.sh/BTzT9/b89f238884.png
This is what I have that it won't let me change via in Quest:
https://puu.sh/BTzUq/6f178d1ef8.png
Now it doesn't give you this option in the Display settings, but you should be able to script it in if i'm correct.
Any help would be appreciated!
Thanks!
Chloe

K.V.
15 Nov 2018, 01:34Hello.
Sorry... I just now noticed this post.
Are you using the desktop version of Quest?
mrangel
15 Nov 2018, 10:33You could do this by overriding the StartGame
function, but I think that's likely to be be more effort than it's worth.
My solution would be to add the following to your start script:
JS.eval("$('title').css({textAlign: 'left'});")
The text will be displayed centred for an instant until the start script runs, and then moved to the left.