Skip to content

Commit 50587da

Browse files
committed
fix lint
1 parent 5b07f62 commit 50587da

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/ruis/widget/button/touch/tab_button.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ using namespace ruis::touch;
2727

2828
using namespace ruis::length_literals;
2929

30+
namespace {
31+
constexpr auto button_padding = 10_pp;
32+
} // namespace
33+
3034
tab_button::tab_button(
3135
utki::shared_ref<ruis::context> context, //
3236
all_parameters params,
@@ -63,7 +67,7 @@ tab_button::tab_button(
6367
.layout = ruis::layout::column
6468
},
6569
.padding_params = {
66-
.borders = {10_pp}
70+
.borders = {button_padding}
6771
}
6872
},
6973
{

0 commit comments

Comments
 (0)