Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » crLf in Elegant.Ui.Button? Collapse All
Subject Author Date
Gunter Avenius Jul 22, 2010 - 1:28 AM

Hello Support Team,


vb2005, Elegant UI 3.7


I want a Linebreak in a Button with Image


I set the Text:


Button1.Text= "AAAAAAAA" & vbcrlf & "BBB"


I want:


AAAAAAAA

BBB


I get:


AAAAAAAA

      BBB


Thanks for yor help

Gunter


 


 


 


 

Technical Support Jul 22, 2010 - 6:45 AM

Which value is assigned to the Button.TextAlign property?

Gunter Avenius Jul 22, 2010 - 7:02 AM

Hello,


here are a screenshot:


Screenshot


Thanks

Gunter

Technical Support Jul 22, 2010 - 7:14 AM

Thank you. We need 1..2 days to fix this issue.

Gunter Avenius Jul 22, 2010 - 7:20 AM

Hello,


Thanks, do you need a sample project?


always the smaller Line are "Center" the Long Line are "Left"




Button1.Text= "AAAAAAAA" & vbcrlf & "BBB"


I get:


AAAAAAAA


     BBB




 


Button1.Text= "BBB" & vbcrlf & "AAAAAAAA"


I get:



     BBB


AAAAAAAA


Best regrads

Gunter

Gunter Avenius Jul 22, 2010 - 6:53 AM

Hello,


Button.TextAlign = MiddleLeft


Button.ImageAlign = MiddleLeft


Button.TextImageRelation = ImageBeforeText


Thanks

Gunter