Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic TabbedDiagram Tab Size not changing (Read 1556 times)
IpaGuy
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 6
Joined: May 12th, 2020
TabbedDiagram Tab Size not changing
May 12th, 2020 at 2:45pm
Print Post  
I am using the TabbedDiagramView.  Whenever a diagram is edited, I would like to modify the title of the page to have an "*" added to the end of the filename displayed on the tab.  When I add this, the text on the tab gets clipped. I have tried adding extra spaces to the filename before setting the Page.Title, but this is very clunky and does not work.
Am I missing something very simple?  The only solution that I have come up with is to remove the tab, set the Title and then insert the tab back at the same index.


  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: TabbedDiagram Tab Size not changing
Reply #1 - May 12th, 2020 at 6:06pm
Print Post  
We'll fix it for next release. For time being, you could force calculating new size by temporarily changing some layout or font related properties -

Code
Select All
tabbedDiagramView.Document.Pages[0].Title += "***";
tabbedDiagramView.MaxTabSize++;
tabbedDiagramView.MaxTabSize--; 



Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
IpaGuy
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 6
Joined: May 12th, 2020
Re: TabbedDiagram Tab Size not changing
Reply #2 - May 12th, 2020 at 11:26pm
Print Post  
OK, thanks for the tip!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint