Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Increasing Font Size (Read 1581 times)
David
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Jul 9th, 2009
Increasing Font Size
Jul 9th, 2009 at 8:08am
Print Post  
Hi

When dragging on a new shape node the font size when entering new text get's increasingly large. After the text has been entered and the shape loses focus the text reverts to the default size.
Typically between adding new shape nodes a postback has occurred. 

Help?

Thanks
David
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Increasing Font Size
Reply #1 - Jul 9th, 2009 at 8:16am
Print Post  
Hi,

Apparently the font's unit is not preserved correctly between postbacks. Try initializing it at every Page_Load:

Code
Select All
protected void Page_Load(object sender, EventArgs e)
{
	diagramView.InplaceEditFont = new Font("Arial", 12);
}
 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
David
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Jul 9th, 2009
Re: Increasing Font Size
Reply #2 - Jul 9th, 2009 at 8:32am
Print Post  
Thanks Stoyan. The solution worked perfectly
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint