summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-12-18 08:18:08 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-12-18 08:18:08 +0200
commita47ce7adf6f7852869921fe6152ed03fc5c7cf49 (patch)
tree7eaad8092e3790ca124e8e4d4477079c1b8035fa
parentcc798c0f7ca53cc0f14a29439049309ae20616a8 (diff)
Banner: Increased padding in items
-rw-r--r--src/ui/banner.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/banner.c b/src/ui/banner.c
index 7ec189a4..218b0981 100644
--- a/src/ui/banner.c
+++ b/src/ui/banner.c
@@ -64,8 +64,8 @@ struct Impl_Banner {
64iDefineTypeConstruction(Banner) 64iDefineTypeConstruction(Banner)
65 65
66#define itemGap_Banner_ (3 * gap_UI) 66#define itemGap_Banner_ (3 * gap_UI)
67#define itemVPad_Banner_ (2 * gap_UI) 67#define itemVPad_Banner_ (3 * gap_UI)
68#define itemHPad_Banner_ (3 * gap_UI) 68#define itemHPad_Banner_ (4 * gap_UI)
69#define bottomPad_Banner_ (4 * gap_UI) 69#define bottomPad_Banner_ (4 * gap_UI)
70 70
71static void updateHeight_Banner_(iBanner *d) { 71static void updateHeight_Banner_(iBanner *d) {
@@ -76,7 +76,7 @@ static void updateHeight_Banner_(iBanner *d) {
76 } 76 }
77 const size_t numItems = size_Array(&d->items); 77 const size_t numItems = size_Array(&d->items);
78 if (numItems) { 78 if (numItems) {
79 const int innerPad = gap_UI; 79// const int innerPad = gap_UI;
80 iConstForEach(Array, i, &d->items) { 80 iConstForEach(Array, i, &d->items) {
81 const iBannerItem *item = i.value; 81 const iBannerItem *item = i.value;
82 d->rect.size.y += item->height; 82 d->rect.size.y += item->height;