Jump to content

How to place the caption on the button to the right of the toolbar's image?


Semper

Recommended Posts

  • 1 month later...

Is it possible to place the caption on the button to the right of the toolbar's image, rather than below it, as it makes the toolbar property is set in ShowCaptions:=True?

I answer to myself  :)









Caption:='<table><tr><td style="text-align:left"> <p style="font-size:11px"> '+Caption+'</td></tr></table>';

post-965-0-42258800-1366010277_thumb.png

  • Upvote 2
Link to comment
Share on other sites

I use TuniToolbar but could not put the picture on the right side or left? there anything that can help? mine using Delphi XE2 with unigui version 0.92

 

 

 

 

 

 

 

Regards

In  this case I use TuniToolbar with TUniBitBtn instead using normal TuniToolbarButtons and set 



function OnBeforerender(sender)
{
sender.iconAlign="right";
}

post-965-0-71883400-1366175441_thumb.png

Buttons.zip

Link to comment
Share on other sites

thank you so much information and share knowledge Mr.Semper.

If using unitoolbar with uni toolbutton can not?

 

 

 

 

Regards

It seems that it is impossible. If you set unitoolbutton sender.iconAlign = "right" or "left" in this case, the icon becomes invisible  :(

Link to comment
Share on other sites

  • 5 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...