no message

This commit is contained in:
zcy 2022-01-17 00:37:44 +08:00
parent c4be61a7d7
commit ee86da70c6
2 changed files with 4 additions and 9 deletions

View File

@ -261,42 +261,37 @@ void BasicForm::InitWindow(){
ui::TreeNode* node = new ui::TreeNode;
node->SetText(nbase::StringPrintf(L"uart"));
node->SetClass(L"list_topitem");
node->SetFixedHeight(30);
node->SetFont(L"arial_22");
mMonitor->GetRootNode()->AddChildNode(node);
node = new ui::TreeNode;
node->SetText(nbase::StringPrintf(L"tcp client"));
node->SetClass(L"list_topitem");
node->SetFont(L"arial_22");
node->SetFixedHeight(30);
mMonitor->GetRootNode()->AddChildNode(node);
node = new ui::TreeNode;
node->SetText(nbase::StringPrintf(L"tcp server"));
node->SetClass(L"list_topitem");
node->SetFixedHeight(30);
node->SetFont(L"arial_22");
mMonitor->GetRootNode()->AddChildNode(node);
node = new ui::TreeNode;
node->SetText(nbase::StringPrintf(L"udp client"));
node->SetClass(L"list_topitem");
node->SetFixedHeight(30);
node->SetFont(L"arial_22");
mMonitor->GetRootNode()->AddChildNode(node);
node = new ui::TreeNode;
node->SetText(nbase::StringPrintf(L"udp server"));
node->SetClass(L"list_topitem");
node->SetFixedHeight(30);
node->SetFont(L"arial_22");
mMonitor->GetRootNode()->AddChildNode(node);
node = new ui::TreeNode;
node->SetText(nbase::StringPrintf(L"udp group"));
node->SetClass(L"list_topitem");
node->SetFixedHeight(30);
node->SetFont(L"arial_22");
mMonitor->GetRootNode()->AddChildNode(node);
}

View File

@ -18,7 +18,7 @@
<Font id="arial_16" name="arial" size="16" />
<Font id="arial_18" name="arial" size="18" />
<Font id="arial_20" name="arial" size="20" />
<Font id="arial_22" name="arial" size="22" />
<Font id="arial_22" name="arial" size="20" />
<Font id="arial_bold_12" name="arial" size="12" bold="true" />
<Font id="arial_bold_14" name="arial" size="14" bold="true" />
<Font id="arial_bold_16" name="arial" size="16" bold="true" />
@ -136,7 +136,7 @@
<!--列表通用样式-->
<Class name="list" bkcolor="bk_wnd_lightcolor" vscrollbar="true" />
<Class name="listitem" hotcolor="bk_listitem_hovered" pushedcolor="bk_listitem_selected" selectednormalcolor="bk_listitem_selected" fadehot="false" />
<Class name="list_topitem" normalcolor="bk_topitem_normal" hotcolor="bk_topitem_hovered" pushedcolor="bk_topitem_selected" selectednormalcolor="bk_topitem_selected" fadehot="false" />
<Class name="list_topitem" height="30" font="system_14" normalcolor="bk_topitem_normal" hotcolor="bk_topitem_hovered" pushedcolor="bk_topitem_selected" selectednormalcolor="bk_topitem_selected" fadehot="false" />
<!--进度条通用样式, 注意进度条的值使用`_value`属性-->
<Class name="progress_blue" valign="center" _value="0" bkimage="../public/progress/progress_blue_bg.png" height="3" width="stretch" hor="true" max="100" min="0" progressimage="../public/progress/progress_blue_fg.png" />