Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Can i change the EditBox style? (Read 1742 times)
chowy
Junior Member
**
Offline


I Love MindFusion!

Posts: 72
Joined: May 8th, 2017
Can i change the EditBox style?
Sep 27th, 2017 at 8:10am
Print Post  
Sometimes my TextNode box is very small, when editing can not see the contents of the inside. So I want to modify its style.
  

TextEdit.png (Attachment deleted)
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3447
Joined: Oct 19th, 2005
Re: Can i change the EditBox style?
Reply #1 - Sep 27th, 2017 at 8:37am
Print Post  
You could set Diagram.InplaceEditFont to a smaller font, or get a reference to the TextBox by handling EnterInplaceEditMode event and changing editor's size or font.

Code
Select All
void diagram_EnterInplaceEditMode(object sender, InPlaceEditEventArgs e)
{
	e.TextBox.Height += 20;
} 

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint