修复上下左右报错问题
This commit is contained in:
Binary file not shown.
@@ -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)
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component size="231,32" extention="Label">
|
||||
<component size="231,32" extention="Button">
|
||||
<controller name="show" pages="0,,1," selected="0"/>
|
||||
<controller name="button" pages="2,up,3,down" selected="1"/>
|
||||
<displayList>
|
||||
<text id="n6_e9z8" name="title" xy="0,0" size="189,32" alpha="0.7" fontSize="22" color="#ffffff" text="Screen resolution"/>
|
||||
<text id="n6_e9z8" name="title" xy="0,0" size="189,32" alpha="0.7" fontSize="22" color="#8bccd1" text="Screen resolution">
|
||||
<gearColor controller="button" pages="3" values="#8bccd1,#000000" default="#ffffff,#000000"/>
|
||||
</text>
|
||||
</displayList>
|
||||
<Button mode="Radio"/>
|
||||
</component>
|
||||
Reference in New Issue
Block a user