mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-03-24 19:38:32 -06:00
overlays: Shrink the shader notification popup
This commit is contained in:
parent
6590f1b55d
commit
852317a071
@ -18,7 +18,7 @@ namespace rsx
|
||||
}
|
||||
|
||||
queue_message(
|
||||
localized_string_id::RSX_OVERLAYS_COMPILING_SHADERS,
|
||||
localized_string_id::INVALID,
|
||||
5'000'000,
|
||||
{},
|
||||
message_pin_location::bottom_left,
|
||||
|
||||
@ -407,6 +407,12 @@ namespace rsx
|
||||
|
||||
void overlay_element::set_text(localized_string_id id)
|
||||
{
|
||||
if (id == localized_string_id::INVALID)
|
||||
{
|
||||
set_text("");
|
||||
return;
|
||||
}
|
||||
|
||||
set_unicode_text(get_localized_u32string(id));
|
||||
}
|
||||
|
||||
|
||||
@ -27,8 +27,8 @@ namespace rsx
|
||||
m_frame_width = m_frame_height = 24;
|
||||
m_spacing_x = m_spacing_y = 6;
|
||||
|
||||
set_size(24, 30);
|
||||
set_padding(4, 0, 2, 8);
|
||||
set_size(24, 24);
|
||||
set_padding(4, 0, 4, 0);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ namespace rsx
|
||||
m_visible_duration = expiration;
|
||||
m_refs = std::move(refs);
|
||||
|
||||
m_text.set_font("Arial", 14);
|
||||
m_text.set_font("Arial", 12);
|
||||
m_text.set_text(msg_id);
|
||||
m_text.set_padding(4, 8, 4, 8);
|
||||
m_text.auto_resize();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user