Skip to content

Commit

Permalink
Don't need to make minimal unit type name small, the label is already…
Browse files Browse the repository at this point in the history
… small.

For the default definition, name is a separate widget that uses default sizes, so it makes
sense to apply small markup.
  • Loading branch information
Vultraz committed Aug 5, 2016
1 parent 6b5f792 commit 6d29880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/widgets/unit_preview_pane.cpp
Expand Up @@ -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";

Expand Down

0 comments on commit 6d29880

Please sign in to comment.