This is a migrated thread and some comments may be shown as answers.

Alignment issue

5 Answers 61 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Kranth Kumar Pothuganti
Top achievements
Rank 1
Kranth Kumar Pothuganti asked on 03 May 2010, 07:21 AM
Hi, I am trying to align the radmenuitems to the left of the menu bar, but it is not working, I am pasting the xaml code for that menu below,

 

 

<my:RadMenu HorizontalAlignment="Left" Width="200" Grid.Column="0" Grid.Row="2" Orientation="Vertical" VerticalAlignment="Top"  FontSize="12"> 

 

 

<my:RadMenuItem Header="Project Type" FontSize="11" Foreground="White" Background="Gray"> 

 

  

<my:RadMenuItem Header="Full Life Cycle" Foreground="Black" Name="FLCMenuItem">
<my:RadMenuItem Header="Support" Foreground="Black" Name="SupportMenuItem" />

 


</
my:RadMenuItem>

 

 

 

 

<my:RadMenuItem HorizontalContentAlignment="Left" Width="200" FontSize="11" Header="Generate Report" Background="Gray" Foreground="White" > 

 

 

<my:RadMenuItem Header="Weekly" Foreground="Black" x:Name="WeeklyMenuItem" Click="MenuItem_Click"/>  

 

 

<my:RadMenuItem Header="Monthly" Foreground="Black" x:Name="MonthlyMenuItem" Click="MenuItem_Click"/>

 

 

<my:RadMenuItem Header="Quarterly" Foreground="Black" x:Name="QuarterlyMenuItem" Click="MenuItem_Click"/>

 

 

<my:RadMenuItem Header="Yearly" Foreground="Black" x:Name="YearlyMenuItem" Click="MenuItem_Click"/>

 

 

 

</my:RadMenuItem>

 

 

 

 

<my:RadMenuItem HorizontalContentAlignment="Left" FontSize="11" x:Name="Admin" Width="200" Header="Admin" Foreground="White" Background="Gray" >

<my:RadMenuItem Header="Project" Foreground="Black" x:Name="Project" Click="Project_Click"/>

 

 

<my:RadMenuItem Header="User" x:Name="User" Click="User_Click" Foreground="Black" />

 

 

 

<my:RadMenuItem Header="Project Association" x:Name="ProjectAssociationMenuItem" Click="ProjectAssociationMenuItem_Click" Foreground="Black" />

 

 

 

<my:RadMenuItem Header="Role Access Configuration" x:Name="AccesConfig" Click="AccesConfig_Click" Foreground="Black" />

 

 

 

 

 

 

</my:RadMenuItem>

 

<my:RadMenuItem HorizontalContentAlignment="Left" FontSize="11" Width="200" Header="PAT" Foreground="White" Background="Gray" >

 

 


<
my:RadMenuItem Header="ITSS" Foreground="Black">

 

 

<my:RadMenuItem Header="Corp It" x:Name="ITSSCorp" Foreground="Black"></my:RadMenuItem>

 

 

 

<my:RadMenuItem Header="TCOE" x:Name="ITSSTCOE" Foreground="Black"></my:RadMenuItem>

 

 

 

<my:RadMenuItem Header="ITSS ACS" x:Name="ITSSACS" Foreground="Black"/>

 

 

<my:RadMenuItem Header="ITSS Aero" x:Name="ITSSAero" Foreground="Black"></my:RadMenuItem 

 

<my:RadMenuItem Header="ITSS TS" x:Name="ITSSTS" Foreground="Black"></my:RadMenuItem>

 

 

<my:RadMenuItem Header="ITSS SM" x:Name="ITSSSM" Foreground="Black"></my:RadMenuItem>

 

 

 

 

 

 

</my:RadMenuItem>


<my:RadMenuItem Header="ACS" Foreground="Black">

 

 

 

<my:RadMenuItem Header="HBS" x:Name="ACSHBS" Foreground="Black"></my:RadMenuItem>
<
my:RadMenuItem Header="HPS" x:Name="ACSHPS" Foreground="Black"></my:RadMenuItem>

 


</
my:RadMenuItem>

 

 

 

 

 

 

 

<my:RadMenuItem Header="Aero" Foreground="Black">

 

 

 

 

 

</my:RadMenuItem>

 

 

 

</my:RadMenuItem>


</my:RadMenu>

Screen shot of the tool when executed the same is also attached. Please find a solution for me as soon as possible.
Thank you

 

 

 

 

5 Answers, 1 is accepted

Sort by
0
Pana
Telerik team
answered on 05 May 2010, 02:30 PM
Hello Kranth Kumar Pothuganti,

To remove the gray line that is used for icons and left align the items in the menu you will have to edit the RadMenu Template. I am attaching an example project with the changes and comments what have changed and why.

I hope the resource is helpful.

Greetings,
Panayot
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Kranth Kumar Pothuganti
Top achievements
Rank 1
answered on 24 Jun 2010, 04:03 AM
Thanq for the reply........ If possible could you pls send me the code that you have developed using SL3, cause i dont have SL4 installed on my machine.
0
Pana
Telerik team
answered on 30 Jun 2010, 06:29 AM
Hi Kranth,

Here is the SL3 project.

All the best,
Panayot
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Kranth Kumar Pothuganti
Top achievements
Rank 1
answered on 08 Jul 2010, 06:19 AM
Thanks a bunch :-)
0
Pana
Telerik team
answered on 08 Jul 2010, 06:21 AM
Hello Kumar,

You are welcome :)

Sincerely yours,
Panayot
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Menu
Asked by
Kranth Kumar Pothuganti
Top achievements
Rank 1
Answers by
Pana
Telerik team
Kranth Kumar Pothuganti
Top achievements
Rank 1
Share this question
or