From bda044de1eda8a556c5174461227ae12c8c891d3 Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 15 Dec 2023 14:03:33 -0500 Subject: [PATCH] box --- include/blt/std/format.h | 5 ++--- tests/src/utility_test.cpp | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/blt/std/format.h b/include/blt/std/format.h index 8f9e213..1ce0a72 100755 --- a/include/blt/std/format.h +++ b/include/blt/std/format.h @@ -318,8 +318,8 @@ namespace blt::string */ struct ascii_padding_format { - size_t horizontalPadding = 4; - size_t verticalPadding = 2; + size_t horizontalPadding = 1; + size_t verticalPadding = 1; }; struct tree_format @@ -340,7 +340,6 @@ namespace blt::string { std::string data; std::string title; - tree_node* parent; blt::static_vector children; }; diff --git a/tests/src/utility_test.cpp b/tests/src/utility_test.cpp index 577c6da..20bd404 100644 --- a/tests/src/utility_test.cpp +++ b/tests/src/utility_test.cpp @@ -149,8 +149,6 @@ void blt::test::utility::run() } blt::string::ascii_padding_format bf; - bf.horizontalPadding = 1; - bf.verticalPadding = 1; blt::string::ascii_titled_box bt1{"Pants are inside my lungs", "I sold your child", bf}; blt::string::ascii_titled_box bt2{"With your child", "Your my whole world", bf}; blt::string::ascii_box b1{"Single Word", bf};