Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 1996

WML Workshop • [GUI2] default font for dialog

$
0
0
I want to use the same font (at least as a default) everywhere in my dialog. Is there a way I can set it, perhaps by creating a [window_definition]?

In particular I'm interested in font_size, but I assume the answer would apply to font_family, etc, as well.

I see some examples of [window_definition] setting font_size, text_font_size, use_markup, etc, but I haven't taken the time to try to figure out how these definition thingies work or found any documentation on them. And unfortunately, while it seems you can put 'font_size = x' inside [resolution] inside [window_definition], you can't just put it under [resolution] inside [window].

I do suspect I need to learn definitions anyway.

Statistics: Posted by white_haired_uncle — Today, 12:49 am



Viewing all articles
Browse latest Browse all 1996

Trending Articles