mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 12:47:58 +03:00
tr2/ui: improve window decoration margins
This commit is contained in:
parent
34a93057c2
commit
ef72c674b3
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ void UI_EndWindow(void)
|
|||
|
||||
void UI_BeginWindowBody(void)
|
||||
{
|
||||
const float body_pad = 8.0f;
|
||||
const float body_pad = TR_VERSION == 2 ? 4.0f : 8.0f;
|
||||
UI_BeginPad(body_pad, body_pad);
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,7 @@ void UI_EndWindowBody(void)
|
|||
void UI_WindowTitle(const char *const title)
|
||||
{
|
||||
UI_BeginFrame(UI_FRAME_DIALOG_HEADING);
|
||||
UI_BeginPad(10.0f, 2.0f);
|
||||
UI_BeginPad(10.0f, TR_VERSION == 2 ? 1.0f : 2.0f);
|
||||
UI_BeginAnchor(0.5f, 0.5f);
|
||||
UI_Label(title);
|
||||
UI_EndAnchor();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue