From edb57094237217fde0bf01ae2581c80a5e9b3813 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 4 Oct 2001 14:12:55 +0000 Subject: [PATCH] small tweak to aboutlyx appearance git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2842 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/xforms/ChangeLog | 4 ++++ src/frontends/xforms/form_aboutlyx.C | 6 +++--- src/frontends/xforms/forms/form_aboutlyx.fd | 12 ++++++------ 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index b6ac753a71..0215e84679 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,7 @@ +2001-10-04 Jean-Marc Lasgouttes + + * forms/form_aboutlyx.fd: use flat boxes for tabs. + 2001-10-03 Jürgen Spitzmüller * forms/form_document.fd: rearrangement of the paper tab; diff --git a/src/frontends/xforms/form_aboutlyx.C b/src/frontends/xforms/form_aboutlyx.C index d98a09393f..90631bdbf0 100644 --- a/src/frontends/xforms/form_aboutlyx.C +++ b/src/frontends/xforms/form_aboutlyx.C @@ -56,7 +56,7 @@ FD_form_tab_version * FormAboutlyx::build_tab_version() fdui->form = fl_bgn_form(FL_NO_BOX, 430, 310); fdui->form->u_vdata = this; - obj = fl_add_box(FL_UP_BOX, 0, 0, 430, 310, ""); + obj = fl_add_box(FL_FLAT_BOX, 0, 0, 430, 310, ""); fdui->text_copyright = obj = fl_add_text(FL_NORMAL_TEXT, 10, 10, 410, 110, _("Text")); fl_set_object_boxtype(obj, FL_FRAME_BOX); fl_set_object_lalign(obj, FL_ALIGN_CENTER|FL_ALIGN_INSIDE); @@ -86,7 +86,7 @@ FD_form_tab_credits * FormAboutlyx::build_tab_credits() fdui->form = fl_bgn_form(FL_NO_BOX, 430, 310); fdui->form->u_vdata = this; - obj = fl_add_box(FL_UP_BOX, 0, 0, 430, 310, ""); + obj = fl_add_box(FL_FLAT_BOX, 0, 0, 430, 310, ""); fdui->browser_credits = obj = fl_add_browser(FL_NORMAL_BROWSER, 10, 10, 410, 290, ""); fl_set_object_lsize(obj, FL_NORMAL_SIZE); fl_set_object_callback(obj, C_FormBaseInputCB, 0); @@ -112,7 +112,7 @@ FD_form_tab_license * FormAboutlyx::build_tab_license() fdui->form = fl_bgn_form(FL_NO_BOX, 430, 310); fdui->form->u_vdata = this; - obj = fl_add_box(FL_UP_BOX, 0, 0, 430, 310, ""); + obj = fl_add_box(FL_FLAT_BOX, 0, 0, 430, 310, ""); fdui->text_license = obj = fl_add_text(FL_NORMAL_TEXT, 10, 10, 410, 100, _("Text")); fl_set_object_boxtype(obj, FL_FRAME_BOX); fl_set_object_lalign(obj, FL_ALIGN_CENTER|FL_ALIGN_INSIDE); diff --git a/src/frontends/xforms/forms/form_aboutlyx.fd b/src/frontends/xforms/forms/form_aboutlyx.fd index 2241b9fce1..e1b54f72e5 100644 --- a/src/frontends/xforms/forms/form_aboutlyx.fd +++ b/src/frontends/xforms/forms/form_aboutlyx.fd @@ -74,9 +74,9 @@ Number of Objects: 3 -------------------- class: FL_BOX -type: UP_BOX +type: FLAT_BOX box: 0 0 430 310 -boxtype: FL_UP_BOX +boxtype: FL_FLAT_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE @@ -134,9 +134,9 @@ Number of Objects: 2 -------------------- class: FL_BOX -type: UP_BOX +type: FLAT_BOX box: 0 0 430 310 -boxtype: FL_UP_BOX +boxtype: FL_FLAT_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE @@ -176,9 +176,9 @@ Number of Objects: 3 -------------------- class: FL_BOX -type: UP_BOX +type: FLAT_BOX box: 0 0 430 310 -boxtype: FL_UP_BOX +boxtype: FL_FLAT_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE