~unity-team/nux/nux.remove-deprecated

« back to all changes in this revision

Viewing changes to examples/checkbox.cpp

  • Committer: Eleni Maria Stea
  • Date: 2012-10-15 11:35:23 UTC
  • Revision ID: elene.mst@gmail.com-20121015113523-mv0ume9jgz4dl1bs
removed deprecated enumerations

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    checkbox->SetMaximumHeight(60);
36
36
 
37
37
 
38
 
    MainVLayout->AddView(checkbox, 1, nux::eCenter, nux::eFull);
39
 
    MainVLayout->SetContentDistribution(nux::eStackCenter);
 
38
    MainVLayout->AddView(checkbox, 1, nux::eCenter, nux::MINOR_SIZE_FULL);
 
39
    MainVLayout->SetContentDistribution(nux::MAJOR_POSITION_CENTER);
40
40
 
41
41
    nux::GetWindowThread ()->SetLayout(MainVLayout);
42
42
    nux::ColorLayer background(nux::Color(0xFF4D4D4D));