Mini-browser window size?

hkoster1

Member
Hi, I want to display an image in a mini-browser window, but am at a loss as to how I can size that window so that the image nicely fills it. I'm specifying the image in an .html file with the IMG tag. If I just use the 'Display HTML' rule the window is way too large and square, with the image sitting in the top left corner. The image has width=640 and height=480 pixels at 72 pixels/inch; while I could fiddle with the pixels/inch, that doesn't change the relative size of width and height.

Is there a way to specify the window size? In config.txt perhaps? I would appreciate some assistance on this. BTW, I'm using TS:Mac.
 
It depends on which particular "Display HTML" rule you are using to display your message. The ones most commonly used "Display HTML Page" and "Display HTML" do not allow the windows size to be specified. Another rule "Timed limited display HTML" does allow you to set the width, height and display time of the message.

My tutorial at http://forums.auran.com/trainz/showthread.php?t=84030 gives a description and examples.

This information applies to the Windows version of TS12. I have no information about how these rules work in the Mac version.

Peter Ware
 
...Another rule "Timed limited display HTML" does allow you to set the width, height and display time of the message.

...applies to the Windows version of TS12. I have no information about how these rules work in the Mac version.
Sadly, this rule is not available in TS:Mac.

Thanks for the info.
 
Back
Top