Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic TextStyle = tsBelow (Read 2239 times)
SaschaW
YaBB Newbies
*
Offline



Posts: 9
Joined: Oct 4th, 2005
TextStyle = tsBelow
Nov 8th, 2005 at 6:27am
Print Post  
Hello,

i have an box with textstyle tsBelow:

  Set b1 = fcx.CreateBox(100, 100, 100, 100)
  b1.Text = "Hallo"
  b1.TextStyle = tsBelow

Do i have an influence on the gap between box and text below?

With kind regards,
Sascha Würzburg
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TextStyle = tsBelow
Reply #1 - Nov 8th, 2005 at 6:39am
Print Post  
Hi,

You have only influence over the width or height of the 'below' text, using the IconWidth and IconHeight flowchart properties. You could add several new lines in front of the text to make it further below the box.

Another possibility is to create a label box ant attach it to the main one. E.g.

dim labelGroup as Group
set labelGroup = fcx.CreateGroup(iconBox)
dim label as Box
set label = fcx.CreateBox(near the iconBox)
label.Transparent = true
label.Text = "icon text"
label.Locked = true
label.IgnoreLayout = true
labelGroup.AttachToCorner(label, 0)

Thus you can have the text on top,left,right or below the icon. For an example, check the NetSample sample.

I hope that helps
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint