Custom UI quick question?
All  1-5  6-8

Previous
Next
 From:  Michael Gibson
9834.6 In reply to 9834.3 
Hi Tim, scene browser items styling is controlled by the .SceneBrowserItem rule inside moi.css .

You can control the font by adding a a font: property to that, like so:

code:
.SceneBrowserItem {
	padding:0.15em 0;
	display:block;
	highlightcolor:#0000FF;
	noobjectscolor:#9A9A9A;
	oddrowbackgroundcolor:#EBEBEB;
	evenrowbackgroundcolor:#E3E3E3;
	highlightrowbackgroundcolor:#CAD5F0;
	connectorlinecolor:rgb(132,132,132);

	border:1px solid rgb(153,153,153);
	border-radius:4px;
	background:rgba(255,255,149,0.14);

	font: italic 16pt "Times New Roman";
}


- 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

Previous
Next
 From:  Whiteman Dynamic (TIM_WHITEMAN)
9834.7 In reply to 9834.6 
Hi Michael, ahhh yes! I recognise the .SceneBrowserItem rule from playing with the odd and even row background colours. It seems so obvious now to add a font property! Thank you very much, really appreciate the insight...

Have great weekend.

Tim
  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
9834.8 In reply to 9834.7 
No problem Tim, I'm glad that is what you were looking for.

So yeah the way things are usually set up is if it is intended to just directly inherit the regular document font then you won't see any font properties listed there. But you can add them if you want to override it.

- 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

 

 
 
Show messages: All  1-5  6-8