Skip to content

AppBar label size/spacing #3195

Answered by rpodevns
gotmoo asked this question in Q&A
Discussion options

You must be logged in to vote

Try overriding the fluent-appbar-item css class.

<FluentAppBar Orientation="@Orientation.Vertical" Style="width:130px; height: 300px">

    <FluentAppBarItem Href="/"
                        IconRest="new Icons.Filled.Size24.AppFolder()"
                        Text="New Request1" />

    <FluentAppBarItem Href="/"
                        IconRest="new Icons.Filled.Size24.AppFolder()"
                        Text="New Request2" />
</FluentAppBar>

<style>
    .fluent-appbar-item {
        width: fit-content!important;
        height: 90px!important;
    }
</style>

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gotmoo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants