We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc23481 commit 3a1c846Copy full SHA for 3a1c846
1 file changed
tests/touch/src/gui.cpp
@@ -27,6 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27
#include <ruis/widget/group/touch/tabbed_book.hpp>
28
#include <ruis/widget/label/image.hpp>
29
#include <ruis/widget/label/padding.hpp>
30
+#include <ruis/widget/label/rectangle.hpp>
31
#include <ruis/widget/label/text.hpp>
32
33
#include "list_page.hpp"
@@ -75,6 +76,16 @@ utki::shared_ref<ruis::widget> make_root_widget(utki::shared_ref<ruis::context>
75
76
}
77
},
78
{
79
+ m::rectangle(c,
80
+ {
81
+ .layout_params = {
82
+ .dims = {ruis::dim::fill, ruis::dim::fill}
83
+ },
84
+ .color_params = {
85
+ .color = c.get().style().get_color_background()
86
+ }
87
88
+ ),
89
m::tabbed_book(c,
90
91
.layout_params = {
0 commit comments