Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Adding padding to a ContainerNode caption (Read 2253 times)
j poz
Junior Member
**
Offline


I Love MindFusion!

Posts: 78
Joined: Nov 21st, 2012
Adding padding to a ContainerNode caption
May 31st, 2017 at 3:36pm
Print Post  
We want to add padding to the caption of a ContainerNode. We have tried using TextPadding, but it does not appear to be working. How does one accomplish this?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Adding padding to a ContainerNode caption
Reply #1 - Jun 1st, 2017 at 9:26am
Print Post  
This build applies TextPadding to container captions -
https://mindfusion.eu/_temp/container_padding.zip
  
Back to top
 
IP Logged
 
j poz
Junior Member
**
Offline


I Love MindFusion!

Posts: 78
Joined: Nov 21st, 2012
Re: Adding padding to a ContainerNode caption
Reply #2 - Jun 14th, 2017 at 10:23pm
Print Post  
We only build from source. Can you provide the source code change?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3147
Joined: Oct 19th, 2005
Re: Adding padding to a ContainerNode caption
Reply #3 - Jun 15th, 2017 at 8:18am
Print Post  
ContainerNode.cs, line 570, insert:

rect = ApplyPadding(rect, TextPadding);
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint