I'm currently evaluating the RadRibbonBar and I've come across an issue.
I'm trying to create a stack of three fields with labels:
lblStartFreq txtStartFreq
lblEndFreq txtEndFreq
lblStepSize cboStepSize
Currently, each row is contained in a horizontal button group and the entire set of three button groups is in a single vertical button group. I couldn't find a tableLayoutPanel which would have worked better for grouping these items.
My problem is that the label text size is variable width. This is especially true in localized versions of my application. But, I'd like to have the three text boxes left aligned to the widest label.
I've tried setting the lblStartFreq.size.width property and the txtStartFreq.Location.x property but receive the following error in VS2010 each time: "Expression is a value and therefore cannot be the target of an assignment."
Either of these properties can be set on a normal .net WinForms control but and intellisense indicates that these are get/set values on the radControl versions of the controls. But they don't seem to be exposed.
Is there a different method to aligning these controls that I'm missing or is this something that the Telerik Ribbon Bar isn't capable of doing at this time?
Thanks,
Jason
I'm trying to create a stack of three fields with labels:
lblStartFreq txtStartFreq
lblEndFreq txtEndFreq
lblStepSize cboStepSize
Currently, each row is contained in a horizontal button group and the entire set of three button groups is in a single vertical button group. I couldn't find a tableLayoutPanel which would have worked better for grouping these items.
My problem is that the label text size is variable width. This is especially true in localized versions of my application. But, I'd like to have the three text boxes left aligned to the widest label.
I've tried setting the lblStartFreq.size.width property and the txtStartFreq.Location.x property but receive the following error in VS2010 each time: "Expression is a value and therefore cannot be the target of an assignment."
Either of these properties can be set on a normal .net WinForms control but and intellisense indicates that these are get/set values on the radControl versions of the controls. But they don't seem to be exposed.
Is there a different method to aligning these controls that I'm missing or is this something that the Telerik Ribbon Bar isn't capable of doing at this time?
Thanks,
Jason