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

--HG--
branch : html-table-rendering
This commit is contained in:
Nimetu 2014-10-15 00:02:38 +03:00
parent 799705b7ed
commit 0a1a1244ae
2 changed files with 4 additions and 4 deletions

View file

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

View file

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