diff --git a/bin/resources/themes/default/global.xml b/bin/resources/themes/default/global.xml
index 18b9ee3b..f2509721 100644
--- a/bin/resources/themes/default/global.xml
+++ b/bin/resources/themes/default/global.xml
@@ -146,7 +146,7 @@
-
+
@@ -165,9 +165,9 @@
-
-
-
+
+
+
diff --git a/tool_kits/duilib/Core/WindowBuilder.cpp b/tool_kits/duilib/Core/WindowBuilder.cpp
index 3753e538..71ddc362 100644
--- a/tool_kits/duilib/Core/WindowBuilder.cpp
+++ b/tool_kits/duilib/Core/WindowBuilder.cpp
@@ -243,6 +243,9 @@ Box* WindowBuilder::Create(CreateControlCallback pCallback, Window* pManager, Bo
else if( strName == _T("value") ) {
strAttribute.append(strValue);
}
+ else if (strName == _T("_value")) {
+ strAttribute.append(StringHelper::Printf(L" value=\"%s\"",strValue.c_str()));
+ }
else {
strAttribute.append(StringHelper::Printf(L" %s=\"%s\"",
strName.c_str(), strValue.c_str()));
@@ -290,6 +293,9 @@ Box* WindowBuilder::Create(CreateControlCallback pCallback, Window* pManager, Bo
else if( strName == _T("value") ) {
strAttribute.append(strValue);
}
+ else if (strName == _T("_value")) {
+ strAttribute.append(StringHelper::Printf(L" value=\"%s\"", strValue.c_str()));
+ }
else {
strAttribute.append(StringHelper::Printf(L" %s=\"%s\"",
strName.c_str(), strValue.c_str()));