From f8c96abfc5eee2029343eec59d901dffa01dd406 Mon Sep 17 00:00:00 2001 From: Gleb Smirnov Date: Fri, 21 Jan 2022 20:08:21 +0300 Subject: [PATCH] tests: add test for `inverted` binding flag --- tests/samples/binding.blp | 4 +++- tests/samples/binding.ui | 7 +++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/tests/samples/binding.blp b/tests/samples/binding.blp index af478fb..b8b48c2 100644 --- a/tests/samples/binding.blp +++ b/tests/samples/binding.blp @@ -1,9 +1,11 @@ using Gtk 4.0; Box { - visible: bind box2.visible sync-create; + visible: bind box2.visible inverted; orientation: bind box2.orientation; + spacing: bind box2.spacing sync-create; } Box box2 { + spacing: 6; } diff --git a/tests/samples/binding.ui b/tests/samples/binding.ui index 14a74ac..5644afa 100644 --- a/tests/samples/binding.ui +++ b/tests/samples/binding.ui @@ -2,8 +2,11 @@ - + + + + + 6 -