Add vh sizing to title table
This should allow the entire dialog to be visible when browser is at least ~540px in height.
This commit is contained in:
parent
e93bf5bb44
commit
30e681ba02
@ -23,7 +23,7 @@
|
||||
<MudDataGridPager T="Title"/>
|
||||
</PagerContent>
|
||||
</MudDataGrid>*@
|
||||
<MudTable Items="@titles" Filter="@Filter" @bind-SelectedItem="@selectedTitle">
|
||||
<MudTable Items="@titles" Filter="@Filter" @bind-SelectedItem="@selectedTitle" Height="40vh">
|
||||
<ColGroup>
|
||||
<col style="width: 150px;" />
|
||||
<col />
|
||||
@ -32,8 +32,6 @@
|
||||
<col style="width: 150px;" />
|
||||
</ColGroup>
|
||||
<ToolBarContent>
|
||||
<MudText Typo="Typo.h6">Built in titles</MudText>
|
||||
<MudSpacer/>
|
||||
<MudTextField @bind-Value="searchString" Placeholder="Search" Adornment="Adornment.Start" Immediate="true"
|
||||
AdornmentIcon="@Icons.Material.Filled.Search" IconSize="Size.Medium" Class="mt-0">
|
||||
</MudTextField>
|
||||
|
@ -86,7 +86,7 @@ public partial class Profile
|
||||
{
|
||||
["UserSetting"] = response
|
||||
};
|
||||
var dialog = DialogService.Show<ChooseTitleDialog>("Choose a built in dialog", parameters, options);
|
||||
var dialog = DialogService.Show<ChooseTitleDialog>("Player Titles", parameters, options);
|
||||
var result = await dialog.Result;
|
||||
if (!result.Cancelled)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user