diff options
Diffstat (limited to 'otk/otk_test.cc')
| -rw-r--r-- | otk/otk_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/otk/otk_test.cc b/otk/otk_test.cc index ec352f9f..987563ad 100644 --- a/otk/otk_test.cc +++ b/otk/otk_test.cc @@ -31,13 +31,14 @@ int main(int argc, char **argv) { right.setUnfocusTexture(app.getStyle()->getTitleUnfocus()); otk::OtkButton iconb(&left); + iconb.resize(40,20); otk::OtkFocusWidget label(&left); otk::OtkButton maxb(&left); otk::OtkButton closeb(&left); // fixed size iconb.setText("foo"); - iconb.press(); + iconb.press(Button1); // fix width to 60 and let the height be calculated by its parent //label.setHeight(20); |
