Skip to content

Commit

Permalink
Unit Preview Pane: further format updates to weapon special and abili…
Browse files Browse the repository at this point in the history
…ty tooltips

Part of this change was committed accidentally in e22c896, so this is just an addendum.
  • Loading branch information
Vultraz committed Dec 17, 2016
1 parent e0ca557 commit f5e0d38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/widgets/unit_preview_pane.cpp
Expand Up @@ -227,7 +227,7 @@ void unit_preview_pane::print_attack_details(T attacks, tree_view_node& parent_n
subsection,
"item",
(formatter() << font::span_color(font::weapon_details_color) << pair.first << "</span>").str(),
(formatter() << "<big>" << pair.first << "</big>" << "\n\n" << pair.second).str()
(formatter() << "<span size='x-large'>" << pair.first << "</span>" << "\n" << pair.second).str()
);
}
}
Expand Down Expand Up @@ -342,7 +342,7 @@ void unit_preview_pane::set_displayed_type(const unit_type& type)
header_node,
"item",
boost::get<0>(ab),
(formatter() << "<big>" << boost::get<0>(ab) << "</big>\n\n" << boost::get<1>(ab)).str()
(formatter() << "<span size='x-large'>" << boost::get<0>(ab) << "</span>\n" << boost::get<1>(ab)).str()
);
}
}
Expand Down

0 comments on commit f5e0d38

Please sign in to comment.