X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2Fforms%2Fform_ref.fd;h=ede6b7cf1c8fa08d783008bbf1cf07952c8edcd0;hb=7ae6332b03d5df51348c08e50211bac9e8da9f31;hp=7ae42d51134d44c93900e8da5ce7710e536b3487;hpb=67191fe11fa0e00588abf530518ace508cd94921;p=lyx.git diff --git a/src/frontends/xforms/forms/form_ref.fd b/src/frontends/xforms/forms/form_ref.fd index 7ae42d5113..ede6b7cf1c 100644 --- a/src/frontends/xforms/forms/form_ref.fd +++ b/src/frontends/xforms/forms/form_ref.fd @@ -5,22 +5,23 @@ Internal Form Definition File Number of forms: 1 Unit of measure: FL_COORD_PIXEL +SnapGrid: 5 =============== FORM =============== Name: form_ref -Width: 530 -Height: 340 -Number of Objects: 10 +Width: 395 +Height: 300 +Number of Objects: 13 -------------------- class: FL_BOX -type: UP_BOX -box: 0 0 530 340 -boxtype: FL_UP_BOX +type: FLAT_BOX +box: 0 0 395 300 +boxtype: FL_FLAT_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE -size: FL_DEFAULT_SIZE +size: FL_NORMAL_SIZE lcol: FL_BLACK label: shortcut: @@ -33,163 +34,218 @@ argument: -------------------- class: FL_BROWSER type: HOLD_BROWSER -box: 10 10 270 280 +box: 5 35 280 110 boxtype: FL_DOWN_BOX colors: FL_COL1 FL_YELLOW -alignment: FL_ALIGN_BOTTOM +alignment: FL_ALIGN_TOP style: FL_NORMAL_STYLE size: FL_DEFAULT_SIZE lcol: FL_BLACK label: shortcut: -resize: FL_RESIZE_X -gravity: FL_NorthWest FL_NoGravity -name: browser -callback: C_FormCommandInputCB -argument: 2 +resize: FL_RESIZE_ALL +gravity: FL_NorthWest FL_SouthEast +name: browser_refs +callback: C_FormDialogView_InputCB +argument: 0 -------------------- class: FL_BUTTON type: NORMAL_BUTTON -box: 40 300 90 30 +box: 290 75 100 25 boxtype: FL_UP_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE -size: FL_DEFAULT_SIZE +size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Update -shortcut: Update|#U#u +label: Update|#U +shortcut: resize: FL_RESIZE_NONE -gravity: FL_NoGravity FL_NoGravity -name: update -callback: C_FormCommandInputCB -argument: 3 +gravity: FL_East FL_East +name: button_update +callback: C_FormDialogView_InputCB +argument: 0 -------------------- class: FL_CHECKBUTTON type: PUSH_BUTTON -box: 170 300 30 30 +box: 290 40 100 25 boxtype: FL_NO_BOX colors: FL_COL1 FL_YELLOW -alignment: FL_ALIGN_RIGHT -style: FL_NORMAL_STYLE -size: FL_DEFAULT_SIZE -lcol: FL_BLACK -label: Sort -shortcut: -resize: FL_RESIZE_NONE -gravity: FL_NoGravity FL_NoGravity -name: sort -callback: C_FormCommandInputCB -argument: 3 - --------------------- -class: FL_INPUT -type: NORMAL_INPUT -box: 370 10 150 40 -boxtype: FL_DOWN_BOX -colors: FL_COL1 FL_MCOL -alignment: FL_ALIGN_LEFT +alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE -size: FL_DEFAULT_SIZE +size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Name: +label: Sort|#S shortcut: resize: FL_RESIZE_NONE -gravity: FL_NorthEast FL_NorthEast -name: name -callback: -argument: +gravity: FL_East FL_East +name: check_sort +callback: C_FormDialogView_InputCB +argument: 0 -------------------- -class: FL_INPUT -type: NORMAL_INPUT -box: 370 60 150 40 -boxtype: FL_DOWN_BOX -colors: FL_COL1 FL_MCOL -alignment: FL_ALIGN_LEFT +class: FL_BUTTON +type: NORMAL_BUTTON +box: 5 270 90 25 +boxtype: FL_UP_BOX +colors: FL_COL1 FL_COL1 +alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE -size: FL_DEFAULT_SIZE +size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Reference: +label: Restore|#R shortcut: resize: FL_RESIZE_NONE -gravity: FL_NorthEast FL_NorthEast -name: ref -callback: -argument: +gravity: FL_SouthWest FL_SouthWest +name: button_restore +callback: C_FormDialogView_RestoreCB +argument: 0 -------------------- -class: FL_CHOICE -type: NORMAL_CHOICE -box: 340 140 140 40 -boxtype: FL_FRAME_BOX -colors: FL_COL1 FL_BLACK -alignment: FL_ALIGN_TOP +class: FL_BUTTON +type: RETURN_BUTTON +box: 110 270 90 25 +boxtype: FL_UP_BOX +colors: FL_COL1 FL_COL1 +alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE -size: FL_DEFAULT_SIZE +size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Reference type -shortcut: Reference type|#t +label: OK +shortcut: ^M resize: FL_RESIZE_NONE gravity: FL_SouthEast FL_SouthEast -name: type -callback: C_FormCommandInputCB -argument: 4 +name: button_ok +callback: C_FormDialogView_OKCB +argument: 0 -------------------- class: FL_BUTTON type: NORMAL_BUTTON -box: 340 200 140 40 +box: 300 270 90 25 boxtype: FL_UP_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE -size: FL_DEFAULT_SIZE +size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Goto reference -shortcut: Goto reference|#G +label: Cancel|^[ +shortcut: resize: FL_RESIZE_NONE gravity: FL_SouthEast FL_SouthEast -name: go -callback: C_FormCommandInputCB -argument: 1 +name: button_close +callback: C_FormDialogView_CancelCB +argument: 0 -------------------- class: FL_BUTTON -type: RETURN_BUTTON -box: 330 300 90 30 +type: NORMAL_BUTTON +box: 205 270 90 25 boxtype: FL_UP_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE -size: FL_DEFAULT_SIZE +size: FL_NORMAL_SIZE lcol: FL_BLACK -label: OK -shortcut: ^M +label: Apply|#A +shortcut: resize: FL_RESIZE_NONE gravity: FL_SouthEast FL_SouthEast -name: ok -callback: C_FormCommandOKCB +name: button_apply +callback: C_FormDialogView_ApplyCB +argument: 0 + +-------------------- +class: FL_CHOICE +type: NORMAL_CHOICE +box: 95 5 295 25 +boxtype: FL_FRAME_BOX +colors: FL_COL1 FL_BLACK +alignment: FL_ALIGN_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Document:|#D +shortcut: +resize: FL_RESIZE_X +gravity: FL_NorthWest FL_NorthEast +name: choice_document +callback: C_FormDialogView_InputCB +argument: 0 + align: FL_ALIGN_LEFT + +-------------------- +class: FL_INPUT +type: NORMAL_INPUT +box: 110 230 280 25 +boxtype: FL_DOWN_BOX +colors: FL_COL1 FL_MCOL +alignment: FL_ALIGN_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Name:|#N +shortcut: +resize: FL_RESIZE_X +gravity: FL_South FL_South +name: input_name +callback: +argument: + +-------------------- +class: FL_INPUT +type: NORMAL_INPUT +box: 110 160 280 25 +boxtype: FL_DOWN_BOX +colors: FL_COL1 FL_MCOL +alignment: FL_ALIGN_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Reference:|#e +shortcut: +resize: FL_RESIZE_X +gravity: FL_South FL_South +name: input_ref +callback: C_FormDialogView_InputCB +argument: 0 + +-------------------- +class: FL_CHOICE +type: NORMAL_CHOICE +box: 110 195 280 25 +boxtype: FL_FRAME_BOX +colors: FL_COL1 FL_BLACK +alignment: FL_ALIGN_LEFT +style: FL_NORMAL_STYLE +size: FL_NORMAL_SIZE +lcol: FL_BLACK +label: Format:|#F +shortcut: +resize: FL_RESIZE_X +gravity: FL_South FL_South +name: choice_format +callback: C_FormDialogView_InputCB argument: 0 -------------------- class: FL_BUTTON type: NORMAL_BUTTON -box: 430 300 90 30 +box: 290 115 100 25 boxtype: FL_UP_BOX colors: FL_COL1 FL_COL1 alignment: FL_ALIGN_CENTER style: FL_NORMAL_STYLE -size: FL_DEFAULT_SIZE +size: FL_NORMAL_SIZE lcol: FL_BLACK -label: Cancel +label: Go to|#G shortcut: resize: FL_RESIZE_NONE -gravity: FL_SouthEast FL_SouthEast -name: cancel -callback: C_FormCommandCancelCB +gravity: FL_East FL_East +name: button_go +callback: C_FormDialogView_InputCB argument: 0 ==============================