Increase the width of the browser ?

Next
 From:  Samuel Zeller
4616.1 
Is it possible to modify MoI UI to change the browser width ? Or changing the browser font size to something smaller ?
I currently have a lot of objects with long names (and they need those long names) and it's only showing half of it :(

For example if you got

Object 1
Plastic back model 3 no bools gold

Object 2
Plastic back model 3 no bools silver

You see the same name for the two objects :(
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  DannyT (DANTAS)
4616.2 In reply to 4616.1 
Hi DesuDeus,

> Is it possible to modify MoI UI to change the browser width?

There is a way, Michael explains here http://moi3d.com/forum/index.php?webtag=MOI&msg=2580.1
and there's more discussion about the browser and long names here http://moi3d.com/forum/index.php?webtag=MOI&msg=4413.1

Cheers
~Danny~
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
4616.3 In reply to 4616.1 
Hi DesuDeus,

> Is it possible to modify MoI UI to change the browser width ?
> Or changing the browser font size to something smaller ?

Yeah you can do this by editing the BrowserPane.htm file in the \ui sub-folder.

The link Danny has above shows how to do it for V2 (add some more characters in to a <div> tag in there). For V3 it's slightly different - in V3 it's controlled by a width value in a style at the top of the file:

code:
		<style>
			body {
				padding:0.3em 0.2em 0.5em 0.3em;
				width:15em;
			}
		</style>


The width:15em; part is that controls the width - setting that to 20em for example will increase the width. (an 'em' is a unit based on the current font size).

You can also change the font to be smaller in the browser pane by adding a new style there, you'll need to add a second style to do that (because the body automatically gets the default font size applied directly to it), something like this:

code:
		<style>
			body {
				padding:0.3em 0.2em 0.5em 0.3em;
				width:15em;
			}
			
			moi\:SceneBrowser {
				font-size:80%;
			}
		</style>


- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All