-
-
Notifications
You must be signed in to change notification settings - Fork 521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issues with contextual tab group #395
Comments
Could try to reproduce this issue using the latest 5.0 preview/prerelease version? |
i tried with the 5.0 version but then i get even more issues to build my project |
What kind of issues? |
@MannusEtten Ping |
1 similar comment
@MannusEtten Ping |
@MannusEtten Ping |
i tried today again, nothing changed, the contextual tab group titles are not shown |
You should have added the reference to your OSS project from the start. I cloned your project but i am unable to build it because "GPXDataAnalyzer\GPX" is missing. |
the gpx-project is a clone of another OSS-project, i shall add it in a zip to my BikeTouringGIS-project, thanks already for your time and help! |
i added it to the project but clone the 1.1-branch because it is added to this branch |
Just tried the 1.1 branch but there seem to be a few more projects with relative paths which are missing. |
I found a way to reproduce your issue. |
did you fix it in the end? if so, when can i expect a new version so i can release it with my app? |
@MannusEtten Yes, this was fixed in Fluent.Ribbon. |
i discover two issues with my contextual tab group
see attached screenshots and i attached the xaml-code of my ribbon as well
is it also possible to remove the title of the app in the menu?
Environment
<Application.Resources>
<ResourceDictionary.MergedDictionaries>
<vm:ViewModelLocator x:Key="Locator" />
<converters:BooleanToVisibilityConverter x:Key="booleanVisibilityConverter" />
<converters:BooleanToVisibilityConverter x:Key="inverseBooleanVisibilityConverter" IsReversed="True" />
<converters2:NotNullToVisibilityConverter x:Key="notNullVisibilityConverter" />
<converters2:InverseNullToBooleanConverter x:Key="notNullConverter" />
</ResourceDictionary.MergedDictionaries>
</Application.Resources>
<UserControl.Resources>
<converters:StringToIntConverter x:Key="stringToIntConverter" />
</UserControl.Resources>
<Grid.ColumnDefinitions>
</Grid.ColumnDefinitions>
<Fluent:Ribbon
x:Name="ribbonMenu"
Grid.Column="1"
AutomaticStateManagement="True">
Fluent:Ribbon.Menu
<Fluent:ApplicationMenu Header="File">
Fluent:ApplicationMenu.RightPaneContent
</Fluent:ApplicationMenu.RightPaneContent>
<Fluent:MenuItem Header="New" />
<Fluent:MenuItem Header="Open" />
<Fluent:MenuItem Header="Save As" />
<Fluent:MenuItem
Command="{Binding ExitCommand}"
Header="Exit"
KeyTip="X" />
</Fluent:ApplicationMenu>
</Fluent:Ribbon.Menu>
Fluent:Ribbon.ContextualGroups
<Fluent:RibbonContextualTabGroup
x:Name="layertab"
Background="DarkBlue"
BorderBrush="LightBlue"
Header="Layer"
Visibility="{Binding SelectedLayer, Converter={StaticResource notNullVisibilityConverter}}" />
</Fluent:Ribbon.ContextualGroups>
<Fluent:RibbonTabItem
MinWidth="150"
Header="Data"
IsSelected="True">
<Fluent:RibbonGroupBox Header="datasources">
<Fluent:Button
MinWidth="100"
CanAddToQuickAccessToolBar="False"
Command="{Binding Base.OpenGPXFileCommand}"
CommandParameter="{Binding Map}"
Header="open gpx-file"
SizeDefinition="10"
ToolTip="open gpx-file">
Fluent:Button.LargeIcon
<iconPacks:PackIconMaterial
Width="32"
Height="32"
Foreground="DarkGreen"
Kind="FileImport" />
</Fluent:Button.LargeIcon>
</Fluent:Button>
</Fluent:RibbonGroupBox>
</Fluent:RibbonTabItem>
<Fluent:RibbonTabItem
Group="{Binding ElementName=layertab, Mode=OneWay}"
Header="Properties"
IsSelected="{Binding SelectedLayer, Converter={StaticResource notNullConverter}}"
Visibility="Visible">
<Fluent:RibbonGroupBox MinWidth="150">
<Fluent:TwoLineLabel Text="{Binding SelectedLayer.DisplayName}" />
</Fluent:RibbonGroupBox>
</Fluent:RibbonTabItem>
<Fluent:RibbonTabItem Group="{Binding ElementName=layertab, Mode=OneWay}" Header="Editing">
Fluent:RibbonGroupBox
<Fluent:Button
MinWidth="100"
Command="{Binding Base.FlipDirectionCommand}"
CommandParameter="{Binding DataContext.SelectedLayer}"
Header="flip direction">
Fluent:Button.LargeIcon
<iconPacks:PackIconMaterial
Width="32"
Height="32"
Foreground="DarkGreen"
Kind="Rotate3d" />
</Fluent:Button.LargeIcon>
</Fluent:Button>
</Fluent:RibbonGroupBox>
</Fluent:RibbonTabItem>
<Fluent:RibbonTabItem
MinWidth="150"
Group="{Binding ElementName=layertab, Mode=OneWay}"
Header="Splitting">
Fluent:RibbonGroupBox
<Fluent:Button
MinWidth="100"
Command="{Binding Base.SplitRouteCommand}"
CommandParameter="{Binding DataContext.SelectedLayer}"
Header="split route">
Fluent:Button.LargeIcon
<iconPacks:PackIconMaterial
Width="32"
Height="32"
Foreground="DarkGreen"
Kind="ContentCut" />
</Fluent:Button.LargeIcon>
</Fluent:Button>
<Fluent:Button
MinWidth="100"
Command="{Binding Base.RemoveSplitRouteCommand}"
CommandParameter="{Binding DataContext.SelectedLayer}"
Header="remove split route">
Fluent:Button.LargeIcon
<iconPacks:PackIconMaterial
Width="32"
Height="32"
Foreground="DarkGreen"
Kind="CloseCircle" />
</Fluent:Button.LargeIcon>
</Fluent:Button>
<Fluent:Button
MinWidth="100"
Command="{Binding Base.SaveSplitRouteCommand}"
CommandParameter="{Binding DataContext.SelectedLayer}"
Header="save split route">
Fluent:Button.LargeIcon
<iconPacks:PackIconMaterial
Width="32"
Height="32"
Foreground="DarkGreen"
Kind="ContentSave" />
</Fluent:Button.LargeIcon>
</Fluent:Button>
</Fluent:RibbonGroupBox>
</Fluent:RibbonTabItem>
</Fluent:Ribbon>
The text was updated successfully, but these errors were encountered: