Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
490
toolbar1 control align
posted

hi,

i have MainToolbarsManager and it's contain toolbar1(button1,button2, label1) .i set IsMainMenuBar = True,for toolbar1.

My Question is : How I can make the Label1 that inside the toolbar1 is Align = right ? like the follwing :

button1, button2......................................................Label1

 

Parents
No Data
Reply
  • 53790
    posted

    Hi,

    I can suggest you two possibilities:

    Option1: Insert a new tool with "ToolType = Lable" and "Caption = 'empty'; ". Then resize the "empty lable" to desire size and after the "empty lable" insert your "Label 1" .

    Option 2: If you don`t want to include "empty lable", you can resize your "Lable 1" with the code below:

    ultraToolbarsManager1.Toolbars[0].Tools[2].SharedProps.Width = 300;

    Both options will look like attached screen shoot:

Children