修复上下左右报错问题
This commit is contained in:
@@ -125,8 +125,8 @@ namespace NBF
|
||||
{
|
||||
await Task.Delay(100);
|
||||
CommonTopPanel.Show();
|
||||
// LoginPanel.Show();
|
||||
PreviewPanel.Show();
|
||||
LoginPanel.Show();
|
||||
// PreviewPanel.Show();
|
||||
}
|
||||
|
||||
#region New
|
||||
|
||||
@@ -6,7 +6,7 @@ using NBC;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public partial class ListTitleItem : GLabel
|
||||
public partial class ListTitleItem : GButton
|
||||
{
|
||||
private void OnInited()
|
||||
{
|
||||
|
||||
@@ -64,8 +64,9 @@ namespace NBF
|
||||
{
|
||||
if (selectedIndex >= 0 && selectedIndex < _listData.Count)
|
||||
{
|
||||
var count = List.numChildren;
|
||||
List.selectedIndex = selectedIndex;
|
||||
List.ScrollToView(List.selectedIndex);
|
||||
List.ScrollToView(selectedIndex);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,7 +95,7 @@ namespace NBF
|
||||
Log.Error(e);
|
||||
}
|
||||
|
||||
_columnsCount = 5;
|
||||
_columnsCount = 6;
|
||||
}
|
||||
|
||||
void OnClickListItem(EventContext context)
|
||||
|
||||
Reference in New Issue
Block a user