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"/>
|
<MudDataGridPager T="Title"/>
|
||||||
</PagerContent>
|
</PagerContent>
|
||||||
</MudDataGrid>*@
|
</MudDataGrid>*@
|
||||||
<MudTable Items="@titles" Filter="@Filter" @bind-SelectedItem="@selectedTitle">
|
<MudTable Items="@titles" Filter="@Filter" @bind-SelectedItem="@selectedTitle" Height="40vh">
|
||||||
<ColGroup>
|
<ColGroup>
|
||||||
<col style="width: 150px;" />
|
<col style="width: 150px;" />
|
||||||
<col />
|
<col />
|
||||||
@ -32,8 +32,6 @@
|
|||||||
<col style="width: 150px;" />
|
<col style="width: 150px;" />
|
||||||
</ColGroup>
|
</ColGroup>
|
||||||
<ToolBarContent>
|
<ToolBarContent>
|
||||||
<MudText Typo="Typo.h6">Built in titles</MudText>
|
|
||||||
<MudSpacer/>
|
|
||||||
<MudTextField @bind-Value="searchString" Placeholder="Search" Adornment="Adornment.Start" Immediate="true"
|
<MudTextField @bind-Value="searchString" Placeholder="Search" Adornment="Adornment.Start" Immediate="true"
|
||||||
AdornmentIcon="@Icons.Material.Filled.Search" IconSize="Size.Medium" Class="mt-0">
|
AdornmentIcon="@Icons.Material.Filled.Search" IconSize="Size.Medium" Class="mt-0">
|
||||||
</MudTextField>
|
</MudTextField>
|
||||||
|
@ -86,7 +86,7 @@ public partial class Profile
|
|||||||
{
|
{
|
||||||
["UserSetting"] = response
|
["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;
|
var result = await dialog.Result;
|
||||||
if (!result.Cancelled)
|
if (!result.Cancelled)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user