summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorFran├žois Revol <revol@free.fr>2014-01-01 18:19:55 +0100
committerFran├žois Revol <revol@free.fr>2014-01-04 19:44:04 +0100
commit0dc8cd66256e9a9235f2976fcfed2797cc50c865 (patch)
treeab04e08e2f334347517f8734addd3ccd3218644f /beos
parent967d930477bc8080295e197c44ebd052bbd1963d (diff)
downloadnetsurf-0dc8cd66256e9a9235f2976fcfed2797cc50c865.tar.gz
netsurf-0dc8cd66256e9a9235f2976fcfed2797cc50c865.tar.bz2
beos: Fix about box
Diffstat (limited to 'beos')
-rw-r--r--beos/about.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/beos/about.cpp b/beos/about.cpp
index bfe836e62..f8447fa2a 100644
--- a/beos/about.cpp
+++ b/beos/about.cpp
@@ -114,7 +114,14 @@ void nsbeos_about(struct gui_window *gui)
alert->AddToSubset(w);
}
}
+
+ // make space for controls
+ alert->ResizeBy(200, 640);
+ alert->MoveTo(alert->AlertPosition(alert->Frame().Width() + 1,
+ alert->Frame().Height() + 1));
+
tv->SetStylable(true);
+ tv->ResizeBy(200, 640);
add_section(tv, name, description);
add_section(tv, NULL, copyright);
add_section(tv, "authors", authors);
@@ -123,10 +130,5 @@ void nsbeos_about(struct gui_window *gui)
add_section(tv, "documenters", documenters);
add_section(tv, url_label, url);
- // make space for controls
- alert->ResizeBy(200, 500);
- alert->MoveTo(alert->AlertPosition(alert->Frame().Width() + 1,
- alert->Frame().Height() + 1));
-
alert->Go(NULL);
}