Shell tab's title is too high

0 Answers 1278 Views
TabView
Dmitriy
Top achievements
Rank 1
Dmitriy asked on 25 Aug 2022, 05:17 PM

I have a .Net MAUI app that uses shell TabBar:


     <TabBar>
        <Tab Title="Home" Icon="{StaticResource IconHome}">
            <ShellContent ContentTemplate="{DataTemplate local:MainPage}" />
        </Tab>
        <Tab Title="Coverage&#10;Calculator" Icon="{StaticResource IconCalculator}" >
            <ShellContent ContentTemplate="{DataTemplate calculator:CoverageCalculatorPage}" />
        </Tab>
        <Tab Title="Distributor&#10;Locator" Icon="{StaticResource IconLocator}">
            <ShellContent ContentTemplate="{DataTemplate locator:DistributorsLocatorPage}" />
        </Tab>
        <Tab Title="Scan&#10;QR Code" Icon="{StaticResource IconQrScanner}">
            <ShellContent ContentTemplate="{DataTemplate qrScanner:QrScannerPage}" />
        </Tab>        
    </TabBar>

When the title has two lines, the second line doesn't fit the size of the TabBar, and thus is hidden. Only a part of the first line can be seen. I wonder if font can be changed, or the tab bar height increased? I have tested only on an Android phone and on an emulator so far.

 


Lance | Senior Manager Technical Support
Telerik team
commented on 25 Aug 2022, 07:09 PM

H Dmitriy,

The ShellPage is not a Telerik component, so this is the incorrect forum to request assistance. You can however get help for this on Microsoft's help site.

  1. Go to dotnet-maui - Microsoft Q&A
  2. Click "Ask a question"

Someone form Microsoft or the developer community will be able to assist further. Good luck!

Side Note about Duplicating Content

I can see this entire question was directly copy/pasted from StackOverflow - tabbar - Shell tab's title is too high - Stack Overflow. I would like to warn you that doing this carries a very high likelihood of getting your account banned as an SEO bot. If you are the original author, please keep your questions in the relevant and appropriate forums to get the best support and to avoid getting flagged.

Dmitriy
Top achievements
Rank 1
commented on 25 Aug 2022, 07:17 PM | edited

Thank you very much for your advise. I will remove my question from Stack Overflow before moving it to MS forum.
I would remove it from this forum also, but don't see how this can be done.
Lance | Senior Manager Technical Support
Telerik team
commented on 25 Aug 2022, 07:55 PM

There's no way to delete a public forum post's root question. This was an intentional decision to keep the public resources intact for future devs who might still find the question useful. Don't worry, I've left a note in your account not to flag you as an SEO bot.

In case you have trouble in the future and you'd like to know where to get the help, you can think about it in terms of context. If the things you need assistance with comes from Telerik UI for MAUI, this is definitely the right place.  For framework or platform related questions both Microsoft Q&A and StackOverflow are good places (though it seems Q&A seems more active lately for MAUI stuff).

Dmitriy
Top achievements
Rank 1
commented on 25 Aug 2022, 08:04 PM

Thank you again, I appreciate your help.

No answers yet. Maybe you can help?

Tags
TabView
Asked by
Dmitriy
Top achievements
Rank 1
Share this question
or