From fb2a5c6ab3d3641f20086215ddf59250dfa63d09 Mon Sep 17 00:00:00 2001 From: Edouard Dupin Date: Wed, 21 Dec 2011 18:01:52 +0100 Subject: [PATCH] Test the button fill --- jni/Main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jni/Main.cpp b/jni/Main.cpp index 178e152..f02049d 100644 --- a/jni/Main.cpp +++ b/jni/Main.cpp @@ -57,6 +57,7 @@ class Plop :public ewol::Windows myButton = new ewol::Button("BT 3"); myButton->SetExpendX(true); //myButton->SetExpendY(true); + myButton->SetFillX(true); mySizerVert->SubWidgetAdd(myButton); ewol::Test * myTest = new ewol::Test(); @@ -73,11 +74,14 @@ class Plop :public ewol::Windows myTest->SetExpendY(true); mySizerVert->SubWidgetAdd(myTest); myButton = new ewol::Button("4 4 BT"); + myButton->SetFillX(true); + myButton->SetFillY(true); myButton->SetExpendY(true); mySizerVert->SubWidgetAdd(myButton); myButton = new ewol::Button("Exemple 2"); myButton->SetExpendX(true); + myButton->SetFillY(true); mySizer->SubWidgetAdd(myButton); };