Move the new hardcoded indentation for race to themes.cfg...

(for main sidebar)

(but still hardcoded for dialogs as always with this stuff)
This commit is contained in:
Ali El Gariani 2009-09-08 00:12:52 +00:00
parent 23652d58a7
commit b0ff8a0e95
3 changed files with 3 additions and 1 deletions

View file

@ -418,6 +418,7 @@
id=unit-race
font_size={DEFAULT_FONT_SMALL}
rect="=,+0,=,+16"
prefix= " "
xanchor=right
yanchor=fixed
[/unit_race]

View file

@ -358,6 +358,7 @@
id=unit-race
font_size={EXPERIMENTAL_FONT_SMALL}
rect="=,+0,=,+16"
prefix=" "
xanchor=right
yanchor=fixed
[/unit_race]

View file

@ -65,7 +65,7 @@ report generate_report(TYPE type,
case UNIT_TYPE:
return report(font::unit_type + u->type_name(), "", u->unit_description());
case UNIT_RACE:
return report(font::race + " " + u->race()->name(u->gender()));
return report(font::race + u->race()->name(u->gender()));
case UNIT_SIDE: {
std::string flag_icon = teams[u->side() - 1].flag_icon();
std::string old_rgb = game_config::flag_rgb;