mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-14 01:27:00 +00:00
rsx/overlays: Improve space usage on trophy dialog
- Slightly increases the size of the trophy dialog and the font size. The old dimensions did not work with some libre fonts causing alignment errors and other problems.
This commit is contained in:
parent
3ada97d2d3
commit
bdb5115c7f
@ -33,7 +33,7 @@ namespace rsx
|
||||
trophy_notification::trophy_notification()
|
||||
{
|
||||
frame.set_pos(0, 0);
|
||||
frame.set_size(260, 80);
|
||||
frame.set_size(300, 80);
|
||||
frame.back_color.a = 0.85f;
|
||||
|
||||
image.set_pos(8, 8);
|
||||
@ -42,7 +42,7 @@ namespace rsx
|
||||
|
||||
text_view.set_pos(85, 0);
|
||||
text_view.set_padding(0, 0, 24, 0);
|
||||
text_view.set_font("Arial", 8);
|
||||
text_view.set_font("Arial", 9);
|
||||
text_view.align_text(overlay_element::text_align::center);
|
||||
text_view.back_color.a = 0.f;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user