Change table defaults valign=middle, cellpadding=1, cellspacing=2

--HG--
branch : html-table-rendering
hg/feature/light_cycle
Nimetu 10 years ago
parent 799705b7ed
commit 0a1a1244ae

@ -528,7 +528,7 @@ namespace NLGUI
CCellParams () : BgColor(0,0,0,0)
{
Align = CGroupCell::Left;
VAlign = CGroupCell::Top;
VAlign = CGroupCell::Middle;
LeftMargin = 0;
NoWrap = false;
}

@ -49,7 +49,7 @@ namespace NLGUI
TableColumnIndex = 0;
Group = new CInterfaceGroup(CViewBase::TCtorParam());
Align = Left;
VAlign = Top;
VAlign = Middle;
LeftMargin = 0;
NoWrap = false;
IgnoreMaxWidth = false;
@ -620,8 +620,8 @@ namespace NLGUI
ForceWidthMin = 0;
Border=0;
BorderColor = CRGBA(32, 32, 32, 255);
CellPadding=0;
CellSpacing=0;
CellPadding=1;
CellSpacing=2;
ContinuousUpdate = false;
}

Loading…
Cancel
Save