mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
resize Preferences to stop segfault.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1036 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d486ef026e
commit
60baa39008
@ -1,5 +1,8 @@
|
||||
2000-09-25 Allan Rae <rae@lyx.org>
|
||||
|
||||
* src/frontends/xforms/forms/form_preferences.fd: resize to stop
|
||||
segfault. This will be completely redesigned soon.
|
||||
|
||||
* sigc++: updated libsigc++. Fixes struct timespec bug.
|
||||
|
||||
* development/tools/makeLyXsigc.sh: .cvsignore addition
|
||||
|
@ -360,9 +360,9 @@ FD_form_preferences * FormPreferences::build_preferences()
|
||||
FL_OBJECT *obj;
|
||||
FD_form_preferences *fdui = new FD_form_preferences;
|
||||
|
||||
fdui->form = fl_bgn_form(FL_NO_BOX, 475, 435);
|
||||
fdui->form = fl_bgn_form(FL_NO_BOX, 625, 435);
|
||||
fdui->form->u_vdata = this;
|
||||
obj = fl_add_box(FL_UP_BOX, 0, 0, 475, 435, "");
|
||||
obj = fl_add_box(FL_UP_BOX, 0, 0, 625, 435, "");
|
||||
fdui->button_apply = obj = fl_add_button(FL_NORMAL_BUTTON, 275, 395, 90, 30, idex(_("Apply|#A")));
|
||||
fl_set_button_shortcut(obj, scex(_("Apply|#A")), 1);
|
||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||
@ -374,7 +374,7 @@ FD_form_preferences * FormPreferences::build_preferences()
|
||||
fdui->button_ok = obj = fl_add_button(FL_RETURN_BUTTON, 175, 395, 90, 30, _("Save"));
|
||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||
fl_set_object_callback(obj, C_FormPreferencesOKCB, 0);
|
||||
fdui->tabfolder_prefs = obj = fl_add_tabfolder(FL_TOP_TABFOLDER, 5, 5, 450, 385, "");
|
||||
fdui->tabfolder_prefs = obj = fl_add_tabfolder(FL_TOP_TABFOLDER, 5, 5, 585, 385, "");
|
||||
fl_set_object_boxtype(obj, FL_FLAT_BOX);
|
||||
fdui->button_restore = obj = fl_add_button(FL_NORMAL_BUTTON, 10, 395, 90, 30, idex(_("Restore|#R")));
|
||||
fl_set_button_shortcut(obj, scex(_("Restore|#R")), 1);
|
||||
|
@ -1239,14 +1239,14 @@ argument:
|
||||
|
||||
=============== FORM ===============
|
||||
Name: form_preferences
|
||||
Width: 475
|
||||
Width: 625
|
||||
Height: 435
|
||||
Number of Objects: 6
|
||||
|
||||
--------------------
|
||||
class: FL_BOX
|
||||
type: UP_BOX
|
||||
box: 0 0 475 435
|
||||
box: 0 0 625 435
|
||||
boxtype: FL_UP_BOX
|
||||
colors: FL_COL1 FL_COL1
|
||||
alignment: FL_ALIGN_CENTER
|
||||
@ -1318,7 +1318,7 @@ argument: 0
|
||||
--------------------
|
||||
class: FL_TABFOLDER
|
||||
type: TOP_TABFOLDER
|
||||
box: 5 5 450 385
|
||||
box: 5 5 585 385
|
||||
boxtype: FL_FLAT_BOX
|
||||
colors: FL_COL1 FL_COL1
|
||||
alignment: FL_ALIGN_TOP_LEFT
|
||||
|
Loading…
Reference in New Issue
Block a user