Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Change font for association ends
Change font for association ends [message #1722650] Sun, 07 February 2016 21:23 Go to next message
Lutz Wrage is currently offline Lutz WrageFriend
Messages: 181
Registered: July 2009
Senior Member
How do I change the font for all association ends in a class diagram? I tried to use the following CSS but it had no effect:
Association > Label:sourceRole {
	fontName: Sans;
	fontHeight: 8;
	fontColor: green;
}

The css file is used because I can change the font for a class name.
Re: Change font for association ends [message #1722679 is a reply to message #1722650] Mon, 08 February 2016 09:04 Go to previous message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi,

This is not supported: the Association carries the style for all of its member ends/labels. This means that you can write this:

Association {
	fontName: Sans;
	fontHeight: 8;
	fontColor: green;
}


But then all member ends will have the same appearance

Regards,
Camille


Camille Letavernier
Previous Topic:Auto size for class rectangle
Next Topic:UML Profiles and SysML FlowPorts
Goto Forum:
  


Current Time: Thu Sep 26 13:00:33 GMT 2024

Powered by FUDForum. Page generated in 0.03364 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top