aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-02-10 22:20:46 +0100
committerdec05eba <dec05eba@protonmail.com>2023-02-10 22:20:46 +0100
commit37c38b085b56701410818efae8811c1f7983a335 (patch)
tree8344b44fd95f5c423df037aa9ba8a942555e8ebe /src
parent568197a727924faaddcccee742efc6143aac00a4 (diff)
Card item smaller spacing
Diffstat (limited to 'src')
-rw-r--r--src/Body.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index 8cff959..7f6a031 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -37,10 +37,10 @@ namespace QuickMedia {
static const int card_width = 250.0f * get_config().scale * get_config().font_scale;
static const int card_height = 350.0f * get_config().scale * get_config().font_scale;
- static const int min_column_spacing = 10 * get_config().scale * get_config().spacing_scale;
- static const int card_padding_x = 20 * get_config().scale * get_config().spacing_scale;
- static const int card_padding_y = 20 * get_config().scale * get_config().spacing_scale;
- static const int card_image_text_padding = 10 * get_config().scale * get_config().spacing_scale;
+ static const int min_column_spacing = 5 * get_config().scale * get_config().spacing_scale;
+ static const int card_padding_x = 15 * get_config().scale * get_config().spacing_scale;
+ static const int card_padding_y = 15 * get_config().scale * get_config().spacing_scale;
+ static const int card_image_text_padding = 5 * get_config().scale * get_config().spacing_scale;
static const mgl::vec2i card_max_image_size(card_width - card_padding_x * 2, (card_height - card_padding_y * 2) / 2);
static const int num_columns_switch_to_list = 1;
static const int embedded_item_border_width = 4;