Fix UI issues

This commit is contained in:
2023-10-18 22:49:45 +08:00
parent 101e3c5ffc
commit f5780a4366
6 changed files with 62 additions and 63 deletions

View File

@@ -274,7 +274,7 @@
<value>2</value>
</data>
<data name="TxtHotKey.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left, Right</value>
<value>Bottom, Right</value>
</data>
<data name="TxtHotKey.Location" type="System.Drawing.Point, System.Drawing">
<value>262, 210</value>
@@ -301,7 +301,7 @@
<value>4</value>
</data>
<data name="LblHotKeyLabel.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
<value>Bottom, Left, Right</value>
<value>Bottom, Right</value>
</data>
<data name="LblHotKeyLabel.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>

View File

@@ -90,7 +90,7 @@ namespace GrasscutterTools.Pages
private void TxtSceneFilter_TextChanged(object sender, EventArgs e)
{
UIUtil.ListBoxFilter(ListScenes, Scenes, TxtSceneFilter.Text);
TxtSceneFilter.Visible = TxtSceneFilter.Text.Length > 0;
LblClearFilter.Visible = TxtSceneFilter.Text.Length > 0;
}
/// <summary>

View File

@@ -181,6 +181,7 @@ namespace GrasscutterTools.Pages
FormMain.Instance.ResetPageTabOrders();
FormMain.Instance.UpdatePagesNav();
InitPageList();
isChanged = true;
}
}
}