|
@@ -151,6 +151,7 @@ void InspectorFrame::InspectNode(Node* node)
|
|
|
LayoutParams nlp;
|
|
LayoutParams nlp;
|
|
|
nlp.SetWidth(304);
|
|
nlp.SetWidth(304);
|
|
|
TBLayout* nodeLayout = new TBLayout(AXIS_Y);
|
|
TBLayout* nodeLayout = new TBLayout(AXIS_Y);
|
|
|
|
|
+ nodeLayout->SetSpacing(4);
|
|
|
|
|
|
|
|
nodeLayout->SetLayoutDistribution(LAYOUT_DISTRIBUTION_GRAVITY);
|
|
nodeLayout->SetLayoutDistribution(LAYOUT_DISTRIBUTION_GRAVITY);
|
|
|
nodeLayout->SetLayoutPosition(LAYOUT_POSITION_LEFT_TOP);
|
|
nodeLayout->SetLayoutPosition(LAYOUT_POSITION_LEFT_TOP);
|
|
@@ -172,8 +173,6 @@ void InspectorFrame::InspectNode(Node* node)
|
|
|
nodeLabel->SetSkinBg(TBIDC("InspectorTextLabel"));
|
|
nodeLabel->SetSkinBg(TBIDC("InspectorTextLabel"));
|
|
|
attrsVerticalLayout->AddChild(nodeLabel);
|
|
attrsVerticalLayout->AddChild(nodeLabel);
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
const Vector<AttributeInfo>* attrs = node->GetAttributes();
|
|
const Vector<AttributeInfo>* attrs = node->GetAttributes();
|
|
|
|
|
|
|
|
for (unsigned i = 0; i < attrs->Size(); i++)
|
|
for (unsigned i = 0; i < attrs->Size(); i++)
|