Line 231:
Line 231:
for key, value in pairs(header_icons) do
for key, value in pairs(header_icons) do
local title = Formatting:format_resource_name(key)
local title = Formatting:format_resource_name(key)
−
header_icons[key] = Formatting:format_image{value, caption = title, link = title}
+
header_icons[key] = Formatting:format_image{value, caption = title, link = title, size = "24px"}
−
-- size = (key == "blueprint" or key == "catapult") and "24px" or nil}
end
end
self._header = format(self._header_template, header_icons)
self._header = format(self._header_template, header_icons)