diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-16 13:21:24 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-16 13:21:24 +0000 |
| commit | d4d15160fe81353a9f7958c1feb1821abe179a70 (patch) | |
| tree | e95cd457230ea842171cb4072eb31368cfa8e845 /otk/otk_test.cc | |
| parent | 3ce8b540aae127c773c57fcf7094e11319d3c6a3 (diff) | |
new button that is a focuslabel
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); |
