window size


Author
Message
lotteettol
lotteettol
Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)
Group: Forum Members
Posts: 6, Visits: 55
Hello,
I have almost finished my study I just need some last advice.
Up to now I set the defaults as follows:

<defaults>
/minimumversion = "4.0.2.0"
/ fontstyle = ("Arial", 3.52%, false, false, false, false, 5, 0)
/ screencolor = white
/ txcolor = black
/ txbgcolor = white
/ windowsize = (1000px, 744px)
</defaults>

Unfortunately, the command "windowsize" does not cover the whole screen so that a part of the screen stays visible which could distract my subjects. But of course, I want it to be suitable for all possible screen sizes so that I can't simply widen the size.
Could you tell me an easier way (than integrating html pages - I simply don't know how to do it) to fix the windowsize so that my instructions (which are often no real "instructions" but "captions" or "texts") are shown in a fix window and that my pictures which are sometimes involved in the text don't get mixed up with the text?
Thank you!

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
You should not use the <defaults> element's /windowsize attribute to do this. Instead use the /canvassize, /canvasposition and/or /canvasaspectratio attributes to achieve consistent results across varying screen sizes / display resolutions:

<defaults>
<defaults>
/minimumversion = "4.0.8.0"
/ fontstyle = ("Arial", 3.52%, false, false, false, false, 5, 0)
/ screencolor = white
/ txcolor = black
/ txbgcolor = white
/ canvassize = (100%, 100%)
/ canvasaspectratio = (4,3)
/ canvasposition = (50%, 50%)
</defaults>
lotteettol
lotteettol
Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)Partner Member (707 reputation)
Group: Forum Members
Posts: 6, Visits: 55
Thank you! But with these commands all my texts slip a bit to the left...?
In one page I integrated a picture of a "2" in an exact position in the text. Will it be shown in the same position in the text on all screens with this command?
Thanks again.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
> Thank you! But with these commands all my texts slip a bit to the left...?

Yes, because 1000px * 744px isn't exactly a 4:3 ratio (1000/744=1.344...; 4/3=1.333...).

> Will it be shown in the same position in the text on all screens with this command?

This depends entirely on how you positioned the respective <text> element. In general you should express any and all /size and /position attributes throughout your script in percentages. Then you'll get consistent results across resolutions / screen sizes.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search