Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
Fixed some dialogs default size
Browse files Browse the repository at this point in the history
  • Loading branch information
REHERC committed Feb 14, 2021
1 parent a8b87f9 commit caca879
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion App.AdventureMaker.Core/Forms/AddResourceWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class AddResourceWindow : Dialog<CampaignResource>
private readonly EnumDropDown<ResourceType> dropDown;
public AddResourceWindow()
{
MinimumSize = new Size(400, 0);
Size = MinimumSize = new Size(400, 250);

Content = new StackLayout()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public ResourceBrowser(IEditor<CampaignFile> editor, ResourceType type)
this.editor = editor;
this.type = type;

MinimumSize = new Size(650, 300);
Size = MinimumSize = new Size(650, 300);

Title = $"Select a {type.ToString().ToLower()}";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected ResourceDialogBase(T data)
{
Data = data.CloneObject() ?? new T();

MinimumSize = new Size(640, 0);
Size = MinimumSize = new Size(360, 180);

Content = (stackLayout = new StackLayout()
{
Expand Down

0 comments on commit caca879

Please sign in to comment.