Commit e80ea25b22bd1353acc23328610629b389079f22
1 parent
cf206a27
Kludge to make size negotiation work
Change-Id: I136e9e7557c8f862298329fca44a188802dc7ecb
Showing
1 changed file
with
3 additions
and
0 deletions
demo/dali-table-view.cpp
| ... | ... | @@ -532,6 +532,9 @@ Actor DaliTableView::CreateTile( const std::string& name, const std::string& tit |
| 532 | 532 | label.SetColor( Color::BLACK ); |
| 533 | 533 | content.Add( label ); |
| 534 | 534 | |
| 535 | + // FIXME - This is a kludge because size negotiation is not finished | |
| 536 | + label.SetSize( parentSize ); | |
| 537 | + | |
| 535 | 538 | // Set the tile to be keyboard focusable |
| 536 | 539 | tile.SetKeyboardFocusable(true); |
| 537 | 540 | ... | ... |