修复上下左右报错问题
This commit is contained in:
Binary file not shown.
@@ -125,8 +125,8 @@ namespace NBF
|
|||||||
{
|
{
|
||||||
await Task.Delay(100);
|
await Task.Delay(100);
|
||||||
CommonTopPanel.Show();
|
CommonTopPanel.Show();
|
||||||
// LoginPanel.Show();
|
LoginPanel.Show();
|
||||||
PreviewPanel.Show();
|
// PreviewPanel.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
#region New
|
#region New
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using NBC;
|
|||||||
|
|
||||||
namespace NBF
|
namespace NBF
|
||||||
{
|
{
|
||||||
public partial class ListTitleItem : GLabel
|
public partial class ListTitleItem : GButton
|
||||||
{
|
{
|
||||||
private void OnInited()
|
private void OnInited()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -64,8 +64,9 @@ namespace NBF
|
|||||||
{
|
{
|
||||||
if (selectedIndex >= 0 && selectedIndex < _listData.Count)
|
if (selectedIndex >= 0 && selectedIndex < _listData.Count)
|
||||||
{
|
{
|
||||||
|
var count = List.numChildren;
|
||||||
List.selectedIndex = selectedIndex;
|
List.selectedIndex = selectedIndex;
|
||||||
List.ScrollToView(List.selectedIndex);
|
List.ScrollToView(selectedIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -94,7 +95,7 @@ namespace NBF
|
|||||||
Log.Error(e);
|
Log.Error(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
_columnsCount = 5;
|
_columnsCount = 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnClickListItem(EventContext context)
|
void OnClickListItem(EventContext context)
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?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="show" pages="0,,1," selected="0"/>
|
||||||
|
<controller name="button" pages="2,up,3,down" selected="1"/>
|
||||||
<displayList>
|
<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>
|
</displayList>
|
||||||
|
<Button mode="Radio"/>
|
||||||
</component>
|
</component>
|
||||||
Reference in New Issue
Block a user