From d4d15160fe81353a9f7958c1feb1821abe179a70 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 16 Nov 2002 13:21:24 +0000 Subject: new button that is a focuslabel --- otk/otk_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'otk/otk_test.cc') 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); -- cgit v1.2.3