mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 02:22:06 +00:00
gui2/tnetwork_transmission: Allow usage of Pango markup for the message text
This commit is contained in:
parent
c249b0c0be
commit
18bb5f8fe3
@ -84,7 +84,9 @@ void tnetwork_transmission::pre_show(CVideo& /*video*/, twindow& window)
|
||||
{
|
||||
// ***** ***** ***** ***** Set up the widgets ***** ***** ***** *****
|
||||
if(!subtitle_.empty()) {
|
||||
find_widget<tlabel>(&window, "subtitle", false).set_label(subtitle_);
|
||||
tlabel& subtitle_label = find_widget<tlabel>(&window, "subtitle", false);
|
||||
subtitle_label.set_label(subtitle_);
|
||||
subtitle_label.set_use_markup(true);
|
||||
}
|
||||
|
||||
pump_monitor.window_ = window;
|
||||
|
Loading…
x
Reference in New Issue
Block a user