Make flexible element to be shrinkable.

This make the application "just-fast" to look better.
This commit is contained in:
ArthurSonzogni
2020-05-02 17:39:42 +02:00
parent cccbe5baa9
commit 1974e9f9fc
4 changed files with 5 additions and 5 deletions

View File

@@ -53,7 +53,7 @@ TEST(HBoxTest, ScreenSmaller1Flex) {
Screen screen(11, 1);
Render(screen, root.get());
EXPECT_EQ("text_1text_", screen.ToString());
EXPECT_EQ("text_text_2", screen.ToString());
}
TEST(HBoxTest, ScreenSmaller2Flex) {
@@ -61,7 +61,7 @@ TEST(HBoxTest, ScreenSmaller2Flex) {
Screen screen(10, 1);
Render(screen, root.get());
EXPECT_EQ("text_1text", screen.ToString());
EXPECT_EQ("texttext_2", screen.ToString());
}
TEST(HBoxTest, ScreenFitFlex) {