Remove underline from sidepanel hyperlink buttons

This commit is contained in:
Niels Laute 2020-05-05 22:03:48 +02:00
parent a722ce460c
commit 154dc555c5
9 changed files with 68 additions and 39 deletions

View file

@ -314,10 +314,10 @@
<data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve"> <data name="FancyZones_ZoneSetChangeMoveWindows.Content" xml:space="preserve">
<value>During zone layout changes, windows assigned to a zone will match new size/positions</value> <value>During zone layout changes, windows assigned to a zone will match new size/positions</value>
</data> </data>
<data name="Give_Feedback.Content" xml:space="preserve"> <data name="Give_Feedback.Text" xml:space="preserve">
<value>Give feedback</value> <value>Give feedback</value>
</data> </data>
<data name="Module_overview.Content" xml:space="preserve"> <data name="Module_overview.Text" xml:space="preserve">
<value>Module overview</value> <value>Module overview</value>
</data> </data>
<data name="AttributionTitle.Text" xml:space="preserve"> <data name="AttributionTitle.Text" xml:space="preserve">
@ -329,7 +329,7 @@
<data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve"> <data name="GeneralPage_CheckForUpdates.Content" xml:space="preserve">
<value>Check for updates</value> <value>Check for updates</value>
</data> </data>
<data name="GeneralPage_PrivacyStatement_URL.Content" xml:space="preserve"> <data name="GeneralPage_PrivacyStatement_URL.Text" xml:space="preserve">
<value>Privacy statement</value> <value>Privacy statement</value>
</data> </data>
<data name="GeneralPage_Radio_Theme_Dark.Content" xml:space="preserve"> <data name="GeneralPage_Radio_Theme_Dark.Content" xml:space="preserve">
@ -341,10 +341,10 @@
<data name="GeneralPage_Radio_Theme_Light.Content" xml:space="preserve"> <data name="GeneralPage_Radio_Theme_Light.Content" xml:space="preserve">
<value>Light</value> <value>Light</value>
</data> </data>
<data name="GeneralPage_ReportAbug.Content" xml:space="preserve"> <data name="GeneralPage_ReportAbug.Text" xml:space="preserve">
<value>Report a bug</value> <value>Report a bug</value>
</data> </data>
<data name="GeneralPage_RequestAFeature_URL.Content" xml:space="preserve"> <data name="GeneralPage_RequestAFeature_URL.Text" xml:space="preserve">
<value>Request a feature</value> <value>Request a feature</value>
</data> </data>
<data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve"> <data name="GeneralPage_RestartAsAdmin_Button.Content" xml:space="preserve">
@ -392,7 +392,7 @@
<data name="Miscellaneous.Text" xml:space="preserve"> <data name="Miscellaneous.Text" xml:space="preserve">
<value>Miscellaneous</value> <value>Miscellaneous</value>
</data> </data>
<data name="OpenSource_Notice.Content" xml:space="preserve"> <data name="OpenSource_Notice.Text" xml:space="preserve">
<value>Open-source notice</value> <value>Open-source notice</value>
</data> </data>
<data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve"> <data name="PowerRename_Toggle_AutoComplete.Header" xml:space="preserve">
@ -527,7 +527,7 @@
<data name="GeneralPage_ToggleSwitch_AlwaysRunElevated.Header" xml:space="preserve"> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated.Header" xml:space="preserve">
<value>Always Run as Admin</value> <value>Always Run as Admin</value>
</data> </data>
<data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Content" xml:space="preserve"> <data name="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link.Text" xml:space="preserve">
<value>Learn about Admin mode</value> <value>Learn about Admin mode</value>
</data> </data>
<data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve"> <data name="GeneralPage_ToggleSwitch_AutoDownloadUpdates.Header" xml:space="preserve">

View file

@ -228,10 +228,13 @@
<Image Source="https://user-images.githubusercontent.com/9866362/77859136-f04ae880-7207-11ea-8a7f-4295342fe319.gif" /> <Image Source="https://user-images.githubusercontent.com/9866362/77859136-f04ae880-7207-11ea-8a7f-4295342fe319.gif" />
<HyperlinkButton x:Uid="Module_overview" <HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/blob/master/src/modules/fancyzones/README.md">
NavigateUri="https://github.com/microsoft/PowerToys/blob/master/src/modules/fancyzones/README.md"/> <TextBlock x:Uid="Module_overview" />
</HyperlinkButton>
<HyperlinkButton x:Uid="Give_Feedback" NavigateUri="https://github.com/microsoft/PowerToys/issues"/> <HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/issues">
<TextBlock x:Uid="Give_Feedback" />
</HyperlinkButton>
<!-- <!--
<TextBlock Text="Contributors" <TextBlock Text="Contributors"

View file

@ -115,21 +115,26 @@
Command = "{Binding CheckFoUpdatesEventHandler, Source={StaticResource eventViewModel}}" Command = "{Binding CheckFoUpdatesEventHandler, Source={StaticResource eventViewModel}}"
/> />
<HyperlinkButton x:Uid="GeneralPage_ReportAbug" <HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/issues"
NavigateUri="https://github.com/microsoft/PowerToys/issues" Margin="{StaticResource SmallTopMargin}">
Margin="{StaticResource SmallTopMargin}" /> <TextBlock x:Uid="GeneralPage_ReportAbug"/>
</HyperlinkButton>
<HyperlinkButton x:Uid="GeneralPage_RequestAFeature_URL" <HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/issues">
NavigateUri="https://github.com/microsoft/PowerToys/issues"/> <TextBlock x:Uid="GeneralPage_RequestAFeature_URL"/>
</HyperlinkButton>
<HyperlinkButton x:Uid="GeneralPage_PrivacyStatement_URL" <HyperlinkButton NavigateUri=" http://go.microsoft.com/fwlink/?LinkId=521839">
NavigateUri=" http://go.microsoft.com/fwlink/?LinkId=521839" /> <TextBlock x:Uid="GeneralPage_PrivacyStatement_URL"/>
</HyperlinkButton>
<HyperlinkButton x:Uid="OpenSource_Notice" <HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/blob/master/NOTICE.md">
NavigateUri="https://github.com/microsoft/PowerToys/blob/master/NOTICE.md"/> <TextBlock x:Uid="OpenSource_Notice"/>
</HyperlinkButton>
<HyperlinkButton x:Uid="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link" <HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/blob/master/doc/devdocs/run-as-admin-detection.md">
NavigateUri="https://github.com/microsoft/PowerToys/blob/master/doc/devdocs/run-as-admin-detection.md"/> <TextBlock x:Uid="GeneralPage_ToggleSwitch_AlwaysRunElevated_Link" />
</HyperlinkButton>
</StackPanel> </StackPanel>
</Grid> </Grid>
</Page> </Page>

View file

@ -272,12 +272,13 @@
Style="{StaticResource SettingsGroupTitleStyle}" Style="{StaticResource SettingsGroupTitleStyle}"
Margin="{StaticResource XSmallBottomMargin}"/> Margin="{StaticResource XSmallBottomMargin}"/>
<HyperlinkButton <HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/blob/master/src/modules/imageresizer/README.md">
x:Uid="Module_overview" <TextBlock x:Uid="Module_overview" />
NavigateUri="https://github.com/microsoft/PowerToys/blob/master/src/modules/imageresizer/README.md"/> </HyperlinkButton>
<HyperlinkButton x:Uid="Give_Feedback" <HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/issues">
NavigateUri="https://github.com/microsoft/PowerToys/issues"/> <TextBlock x:Uid="Give_Feedback" />
</HyperlinkButton>
<TextBlock <TextBlock
x:Uid="AttributionTitle" x:Uid="AttributionTitle"

View file

@ -208,7 +208,13 @@
Style="{StaticResource SettingsGroupTitleStyle}" Style="{StaticResource SettingsGroupTitleStyle}"
Margin="{StaticResource XSmallBottomMargin}"/> Margin="{StaticResource XSmallBottomMargin}"/>
<HyperlinkButton Content="Module overview"/> <HyperlinkButton>
<TextBlock x:Uid="Module_overview" />
</HyperlinkButton>
<HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/issues">
<TextBlock x:Uid="Give_Feedback" />
</HyperlinkButton>
</StackPanel> </StackPanel>
</Grid> </Grid>
</Page> </Page>

View file

@ -141,7 +141,13 @@
Style="{StaticResource SettingsGroupTitleStyle}" Style="{StaticResource SettingsGroupTitleStyle}"
Margin="{StaticResource XSmallBottomMargin}"/> Margin="{StaticResource XSmallBottomMargin}"/>
<HyperlinkButton Content="Module overview"/> <HyperlinkButton>
<TextBlock x:Uid="Module_overview" />
</HyperlinkButton>
<HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/issues">
<TextBlock x:Uid="Give_Feedback" />
</HyperlinkButton>
<TextBlock <TextBlock
Text="Attribution" Text="Attribution"

View file

@ -63,11 +63,13 @@
Style="{StaticResource SettingsGroupTitleStyle}" Style="{StaticResource SettingsGroupTitleStyle}"
Margin="{StaticResource XSmallBottomMargin}"/> Margin="{StaticResource XSmallBottomMargin}"/>
<HyperlinkButton x:Uid="Module_overview" <HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/tree/master/src/modules/previewpane">
NavigateUri="https://github.com/microsoft/PowerToys/tree/master/src/modules/previewpane"/> <TextBlock x:Uid="Module_overview" />
</HyperlinkButton>
<HyperlinkButton x:Uid="Give_Feedback" <HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/issues">
NavigateUri="https://github.com/microsoft/PowerToys/issues"/> <TextBlock x:Uid="Give_Feedback" />
</HyperlinkButton>
</StackPanel> </StackPanel>
</Grid> </Grid>
</Page> </Page>

View file

@ -100,11 +100,13 @@
Style="{StaticResource SettingsGroupTitleStyle}" Style="{StaticResource SettingsGroupTitleStyle}"
Margin="{StaticResource XSmallBottomMargin}"/> Margin="{StaticResource XSmallBottomMargin}"/>
<HyperlinkButton x:Uid="Module_overview" <HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/tree/master/src/modules/powerrename">
NavigateUri="https://github.com/microsoft/PowerToys/tree/master/src/modules/powerrename"/> <TextBlock x:Uid="Module_overview" />
</HyperlinkButton>
<HyperlinkButton x:Uid="Give_Feedback" <HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/issues">
NavigateUri="https://github.com/microsoft/PowerToys/issues"/> <TextBlock x:Uid="Give_Feedback" />
</HyperlinkButton>
<TextBlock <TextBlock

View file

@ -97,9 +97,13 @@
<Image Source="https://raw.githubusercontent.com/microsoft/PowerToys/dev/build-features/doc/images/shortcut_guide/usage.png" /> <Image Source="https://raw.githubusercontent.com/microsoft/PowerToys/dev/build-features/doc/images/shortcut_guide/usage.png" />
<HyperlinkButton <HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/blob/master/src/modules/shortcut_guide/README.md">
x:Uid="Module_overview" <TextBlock x:Uid="Module_overview"/>
NavigateUri="https://github.com/microsoft/PowerToys/blob/master/src/modules/shortcut_guide/README.md"/> </HyperlinkButton>
<HyperlinkButton NavigateUri="https://github.com/microsoft/PowerToys/issues">
<TextBlock x:Uid="Give_Feedback" />
</HyperlinkButton>
</StackPanel> </StackPanel>
</Grid> </Grid>
</Page> </Page>