End of the first dev of the Entry
This commit is contained in:
parent
0c498ef04e
commit
7a36ff135f
19
jni/Main.cpp
19
jni/Main.cpp
@ -57,13 +57,10 @@ class Plop :public ewol::Windows
|
|||||||
mySizerVert->SubWidgetAdd(myButton);
|
mySizerVert->SubWidgetAdd(myButton);
|
||||||
|
|
||||||
ewol::Entry * myEntry = new ewol::Entry("basic Text");
|
ewol::Entry * myEntry = new ewol::Entry("basic Text");
|
||||||
myEntry->SetExpendY(true);
|
myEntry->SetWidth(120);
|
||||||
myEntry->SetFillY(true);
|
|
||||||
myEntry->SetExpendX(true);
|
|
||||||
myEntry->SetFillX(true);
|
|
||||||
mySizerVert->SubWidgetAdd(myEntry);
|
mySizerVert->SubWidgetAdd(myEntry);
|
||||||
|
|
||||||
ewol::Label * myLabel = new ewol::Label("Mon Mabel");
|
ewol::Label * myLabel = new ewol::Label("Mon label");
|
||||||
myLabel->SetExpendY(true);
|
myLabel->SetExpendY(true);
|
||||||
myLabel->SetFillY(true);
|
myLabel->SetFillY(true);
|
||||||
mySizerVert->SubWidgetAdd(myLabel);
|
mySizerVert->SubWidgetAdd(myLabel);
|
||||||
@ -71,6 +68,15 @@ class Plop :public ewol::Windows
|
|||||||
mySizerVert = new ewol::SizerVert();
|
mySizerVert = new ewol::SizerVert();
|
||||||
mySizer->SubWidgetAdd(mySizerVert);
|
mySizer->SubWidgetAdd(mySizerVert);
|
||||||
|
|
||||||
|
myEntry = new ewol::Entry("Mega super plop");
|
||||||
|
//myEntry->SetExpendY(true);
|
||||||
|
//myEntry->SetFillY(true);
|
||||||
|
//myEntry->SetExpendX(true);
|
||||||
|
myEntry->SetFillX(true);
|
||||||
|
myEntry->SetWidth(120);
|
||||||
|
mySizerVert->SubWidgetAdd(myEntry);
|
||||||
|
|
||||||
|
|
||||||
myButton = new ewol::Button("BT 3");
|
myButton = new ewol::Button("BT 3");
|
||||||
myButton->SetExpendX(true);
|
myButton->SetExpendX(true);
|
||||||
//myButton->SetExpendY(true);
|
//myButton->SetExpendY(true);
|
||||||
@ -87,9 +93,6 @@ class Plop :public ewol::Windows
|
|||||||
myCheckBox = new ewol::CheckBox("Exemple 3 et éà$");
|
myCheckBox = new ewol::CheckBox("Exemple 3 et éà$");
|
||||||
mySizerVert->SubWidgetAdd(myCheckBox);
|
mySizerVert->SubWidgetAdd(myCheckBox);
|
||||||
|
|
||||||
myTest = new ewol::Test();
|
|
||||||
myTest->SetExpendY(true);
|
|
||||||
mySizerVert->SubWidgetAdd(myTest);
|
|
||||||
myButton = new ewol::Button("4 4 BT");
|
myButton = new ewol::Button("4 4 BT");
|
||||||
myButton->SetFillX(true);
|
myButton->SetFillX(true);
|
||||||
myButton->SetFillY(true);
|
myButton->SetFillY(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user