Jump to content

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


Recommended Posts

Posted

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?

  • 1 month later...
Posted

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
Posted

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

Posted

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

Posted

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  :(

  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...