From 19613ed83301b3e107eceedc981b59ba9e91c6b1 Mon Sep 17 00:00:00 2001 From: penev92 Date: Tue, 14 Feb 2023 18:08:27 +0200 Subject: [PATCH] Minor D2k encyclopedia UI polish - Make the text area taller so all the current text fits without a scroll. - Limit label width so text doesn't press against the scrollbar. --- mods/d2k/chrome/encyclopedia.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mods/d2k/chrome/encyclopedia.yaml b/mods/d2k/chrome/encyclopedia.yaml index 5960e4e9b0..8fe1afea9c 100644 --- a/mods/d2k/chrome/encyclopedia.yaml +++ b/mods/d2k/chrome/encyclopedia.yaml @@ -54,7 +54,7 @@ Background@ENCYCLOPEDIA_PANEL: Children: Background@ACTOR_BG: Width: 150 - Height: 150 + Height: 170 Background: dialog3 Children: ActorPreview@ACTOR_PREVIEW: @@ -65,13 +65,13 @@ Background@ENCYCLOPEDIA_PANEL: ScrollPanel@ACTOR_DESCRIPTION_PANEL: X: 150 + 10 Width: PARENT_RIGHT - 150 - 10 - Height: 150 + Height: 170 TopBottomSpacing: 8 Children: Label@ACTOR_DESCRIPTION: X: 8 Y: 8 - Width: PARENT_RIGHT - 32 + Width: PARENT_RIGHT - 40 VAlign: Top Font: Regular Button@BACK_BUTTON: