We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b07f62 commit 50587daCopy full SHA for 50587da
1 file changed
src/ruis/widget/button/touch/tab_button.cpp
@@ -27,6 +27,10 @@ using namespace ruis::touch;
27
28
using namespace ruis::length_literals;
29
30
+namespace {
31
+constexpr auto button_padding = 10_pp;
32
+} // namespace
33
+
34
tab_button::tab_button(
35
utki::shared_ref<ruis::context> context, //
36
all_parameters params,
@@ -63,7 +67,7 @@ tab_button::tab_button(
63
67
.layout = ruis::layout::column
64
68
},
65
69
.padding_params = {
66
- .borders = {10_pp}
70
+ .borders = {button_padding}
71
}
72
73
{
0 commit comments