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) 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;
} }

@ -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;
} }

Loading…
Cancel
Save