AnsweredAssumed Answered

How to align buttons in PropertyManagerPage

Question asked by Antonio Amador on Nov 30, 2009
Latest reply on Nov 30, 2009 by Antonio Amador

I can't align tow buttons any other way than the swControlAlign_LeftEdge, swControlAlign_Indent or swControlAlign_DoubleIndent!

 

I just wanted to align them side by side (no newline). The filletExpert (on features->fillet) has two buttons side by side for example!

 

  controlType = (int)SwConst.swPropertyManagerPageControlType_e.swControlType_Button;
                            align = (int)SwConst.swPropertyManagerPageControlLeftAlign_e.swControlAlign_LeftEdge;
                            options = (int)SwConst.swAddControlOptions_e.swControlOptions_SmallGapAbove | (int)SwConst.swAddControlOptions_e.swControlOptions_Visible | (int)SwConst.swAddControlOptions_e.swControlOptions_Enabled;
                            proNew = (IPropertyManagerPageButton)proGroup.AddControl(proNewProcID, controlType, "New", align, options, "New Process");
                            controlType = (int)SwConst.swPropertyManagerPageControlType_e.swControlType_Button;
                            options = (int)SwConst.swAddControlOptions_e.swControlOptions_Visible | (int)SwConst.swAddControlOptions_e.swControlOptions_Enabled;
                            proEdit = (IPropertyManagerPageButton)proGroup.AddControl(proEditProcID, controlType, "Edit", align, options, "Edit Proces");

 

Any hints?

 

Thanks!

Outcomes