Don't need to make minimal unit type name small, the label is already small.
For the default definition, name is a separate widget that uses default sizes, so it makes sense to apply small markup.
This commit is contained in:
parent
6b5f7929d8
commit
6d298803fa
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ void tunit_preview_pane::set_displayed_unit(const unit* unit)
|
|||
const std::string name = "<span size='large'>" + (!unit->name().empty() ? unit->name() : " ") + "</span>";
|
||||
str << name << "\n";
|
||||
|
||||
str << "<small><span color='#a69275'>" << unit->type_name() << "</span></small>" << "\n";
|
||||
str << "<span color='#a69275'>" << unit->type_name() << "</span>" << "\n";
|
||||
|
||||
str << "Lvl " << unit->level() << "\n";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue