@ -80,7 +80,7 @@ static TileIndex GetReferenceTile(NewsReferenceType reftype, uint32 ref)
static const NWidgetPart _nested_normal_news_widgets [ ] = {
static const NWidgetPart _nested_normal_news_widgets [ ] = {
NWidget ( WWT_PANEL , COLOUR_WHITE , WID_N_PANEL ) ,
NWidget ( WWT_PANEL , COLOUR_WHITE , WID_N_PANEL ) ,
NWidget ( NWID_HORIZONTAL ) , SetPadding ( 1 , 1 , 0 , 1 ) ,
NWidget ( NWID_HORIZONTAL ) , SetPadding ( 1 , 1 , 0 , 1 ) ,
NWidget ( WWT_ TEXT , COLOUR_WHITE , WID_N_CLOSEBOX ) , SetDataTip ( STR_SILVER_CROSS , STR_NULL ) , SetPadding ( 0 , 0 , 0 , 1 ) ,
NWidget ( WWT_ CLOSEBOX , COLOUR_WHITE , WID_N_CLOSEBOX ) , SetPadding ( 0 , 0 , 0 , 1 ) ,
NWidget ( NWID_SPACER ) , SetFill ( 1 , 0 ) ,
NWidget ( NWID_SPACER ) , SetFill ( 1 , 0 ) ,
NWidget ( NWID_VERTICAL ) ,
NWidget ( NWID_VERTICAL ) ,
NWidget ( WWT_LABEL , COLOUR_WHITE , WID_N_DATE ) , SetDataTip ( STR_DATE_LONG_SMALL , STR_NULL ) ,
NWidget ( WWT_LABEL , COLOUR_WHITE , WID_N_DATE ) , SetDataTip ( STR_DATE_LONG_SMALL , STR_NULL ) ,
@ -103,7 +103,7 @@ static const NWidgetPart _nested_vehicle_news_widgets[] = {
NWidget ( WWT_PANEL , COLOUR_WHITE , WID_N_PANEL ) ,
NWidget ( WWT_PANEL , COLOUR_WHITE , WID_N_PANEL ) ,
NWidget ( NWID_HORIZONTAL ) , SetPadding ( 1 , 1 , 0 , 1 ) ,
NWidget ( NWID_HORIZONTAL ) , SetPadding ( 1 , 1 , 0 , 1 ) ,
NWidget ( NWID_VERTICAL ) ,
NWidget ( NWID_VERTICAL ) ,
NWidget ( WWT_ TEXT , COLOUR_WHITE , WID_N_CLOSEBOX ) , SetDataTip ( STR_SILVER_CROSS , STR_NULL ) , SetPadding ( 0 , 0 , 0 , 1 ) ,
NWidget ( WWT_ CLOSEBOX , COLOUR_WHITE , WID_N_CLOSEBOX ) , SetPadding ( 0 , 0 , 0 , 1 ) ,
NWidget ( NWID_SPACER ) , SetFill ( 0 , 1 ) ,
NWidget ( NWID_SPACER ) , SetFill ( 0 , 1 ) ,
EndContainer ( ) ,
EndContainer ( ) ,
NWidget ( WWT_LABEL , COLOUR_WHITE , WID_N_VEH_TITLE ) , SetFill ( 1 , 1 ) , SetMinimalSize ( 419 , 55 ) , SetDataTip ( STR_EMPTY , STR_NULL ) ,
NWidget ( WWT_LABEL , COLOUR_WHITE , WID_N_VEH_TITLE ) , SetFill ( 1 , 1 ) , SetMinimalSize ( 419 , 55 ) , SetDataTip ( STR_EMPTY , STR_NULL ) ,
@ -130,7 +130,7 @@ static const NWidgetPart _nested_company_news_widgets[] = {
NWidget ( WWT_PANEL , COLOUR_WHITE , WID_N_PANEL ) ,
NWidget ( WWT_PANEL , COLOUR_WHITE , WID_N_PANEL ) ,
NWidget ( NWID_HORIZONTAL ) , SetPadding ( 1 , 1 , 0 , 1 ) ,
NWidget ( NWID_HORIZONTAL ) , SetPadding ( 1 , 1 , 0 , 1 ) ,
NWidget ( NWID_VERTICAL ) ,
NWidget ( NWID_VERTICAL ) ,
NWidget ( WWT_ TEXT , COLOUR_WHITE , WID_N_CLOSEBOX ) , SetDataTip ( STR_SILVER_CROSS , STR_NULL ) , SetPadding ( 0 , 0 , 0 , 1 ) ,
NWidget ( WWT_ CLOSEBOX , COLOUR_WHITE , WID_N_CLOSEBOX ) , SetPadding ( 0 , 0 , 0 , 1 ) ,
NWidget ( NWID_SPACER ) , SetFill ( 0 , 1 ) ,
NWidget ( NWID_SPACER ) , SetFill ( 0 , 1 ) ,
EndContainer ( ) ,
EndContainer ( ) ,
NWidget ( WWT_LABEL , COLOUR_WHITE , WID_N_TITLE ) , SetFill ( 1 , 1 ) , SetMinimalSize ( 410 , 20 ) , SetDataTip ( STR_EMPTY , STR_NULL ) ,
NWidget ( WWT_LABEL , COLOUR_WHITE , WID_N_TITLE ) , SetFill ( 1 , 1 ) , SetMinimalSize ( 410 , 20 ) , SetDataTip ( STR_EMPTY , STR_NULL ) ,
@ -157,7 +157,7 @@ static WindowDesc _company_news_desc(
static const NWidgetPart _nested_thin_news_widgets [ ] = {
static const NWidgetPart _nested_thin_news_widgets [ ] = {
NWidget ( WWT_PANEL , COLOUR_WHITE , WID_N_PANEL ) ,
NWidget ( WWT_PANEL , COLOUR_WHITE , WID_N_PANEL ) ,
NWidget ( NWID_HORIZONTAL ) , SetPadding ( 1 , 1 , 0 , 1 ) ,
NWidget ( NWID_HORIZONTAL ) , SetPadding ( 1 , 1 , 0 , 1 ) ,
NWidget ( WWT_ TEXT , COLOUR_WHITE , WID_N_CLOSEBOX ) , SetDataTip ( STR_SILVER_CROSS , STR_NULL ) , SetPadding ( 0 , 0 , 0 , 1 ) ,
NWidget ( WWT_ CLOSEBOX , COLOUR_WHITE , WID_N_CLOSEBOX ) , SetPadding ( 0 , 0 , 0 , 1 ) ,
NWidget ( NWID_SPACER ) , SetFill ( 1 , 0 ) ,
NWidget ( NWID_SPACER ) , SetFill ( 1 , 0 ) ,
NWidget ( NWID_VERTICAL ) ,
NWidget ( NWID_VERTICAL ) ,
NWidget ( WWT_LABEL , COLOUR_WHITE , WID_N_DATE ) , SetDataTip ( STR_DATE_LONG_SMALL , STR_NULL ) ,
NWidget ( WWT_LABEL , COLOUR_WHITE , WID_N_DATE ) , SetDataTip ( STR_DATE_LONG_SMALL , STR_NULL ) ,