I have a radDropDownButton that I am dynamically adding radMenuButtonItems to:
When I size the button item, it is sizing the space around the button item, but not the actual button item. How can I size the button item? See attached image (blue arrows).
Also, how can I remove the space to the left of the button items, which is causing whitespace to the right of the button items? See attached image (red arrows)
RadMenuButtonItem bi = new RadMenuButtonItem();bi.Text = string.Format("Item {0}", counter);bi.TextAlignment = ContentAlignment.MiddleLeft;Font fnt = new Font("Arial Rounded MT", 18.0f);bi.Font = fnt;bi.Click += new EventHandler(radDropDownButton_Item_Click);bi.AutoSize = false;bi.Size = new Size(radDropDownButton_Caregivers.Size.Width, 50);radDropDownButton.Items.Add(bi);When I size the button item, it is sizing the space around the button item, but not the actual button item. How can I size the button item? See attached image (blue arrows).
Also, how can I remove the space to the left of the button items, which is causing whitespace to the right of the button items? See attached image (red arrows)