Kexi/Handbook/Building Simple Databases/Designing Forms/Setting widgets size and position by hand: Difference between revisions

    From KDE UserBase Wiki
    (Initial)
     
    (Marked this version for translation)
     
    (9 intermediate revisions by 3 users not shown)
    Line 1: Line 1:
    ==Setting widgets size and position by hand==
    <languages/>
    <translate>
    ====Setting widgets size and position by hand==== <!--T:1-->


    <!--T:2-->
    <!--FIXME no layouts in 4.2: In case when your form has no main layout set for auto-positioning and auto-resizing its widgets, y-->You will probably want to modify the position and size of widgets so the form can look cleaner and be easier to use. The '''Kexi''' form designer simplifies this task by offering the following groups of commands:


    In case when your form has no main layout set for auto-positioning and auto-resizing its widgets, you will probably want to modify the position and size of widgets so the form can look cleaner and be easier to use. The Kexi form designer simplifies this task by offering the following groups of commands:  
    <!--T:19-->
    *Adjusting sizes of selected widgets. The commands are available in the Format->Adjust Widgets Size submenu of the menubar and in the Adjust Widgets Size submenu of the context menu. The toolbar's drop down button Adjust Widgets Size is also available.  
    {{Info|The functions that were explained in this page does not seem to be availlable in the current version of '''Kexi''' (2.4)}}
     
    <!--T:3-->
    <!-- TODO: see info box above
    *Adjusting sizes of selected widgets. The commands are available in the <menuchoice>Format->Adjust Widgets Size</menuchoice> submenu of the menubar and in the <menuchoice>Adjust Widgets Size</menuchoice> submenu of the context menu. The toolbar's drop down button <menuchoice>Adjust Widgets Size</menuchoice> is also available.  
    -->
     
    <!--T:4-->
    <!-- TODO: see info box above
    :;To Fit
    :;To Fit
    :The size of the selected widgets will be altered so each widget will be resized to its preferred size and its contents; for example, a text label's size will be changed to fit its text. The position of the widgets will not be changed.  
    :The size of the selected widgets will be altered so each widget will be resized to its preferred size and its contents; for example, a text label's size will be changed to fit its text. The position of the widgets will not be changed. </translate>
    <translate>
    <!--T:10-->
    -->
    <!-- TODO: see info box above
    :;To Grid
    :;To Grid
    :The size of the selected widgets will be altered so each widget's corner will be placed on the form's (or other container's) grid point. The widget's position can be slightly altered.  
    :The size of the selected widgets will be altered so each widget's corner will be placed on the form's (or other container's) grid point. The widget's position can be slightly altered. </translate>
    <translate>
    <!--T:11-->
    -->
    <!-- TODO: see info box above
    :;To Shortest
    :;To Shortest
    :The height of the selected widgets will be altered so that each of them will have the same height as the shortest one. The position of the widgets will not be changed.  
    :The height of the selected widgets will be altered so that each of them will have the same height as the shortest one. The position of the widgets will not be changed. </translate>
    <translate>
    <!--T:12-->
    -->
    <!-- TODO: see info box above
    :;To Tallest
    :;To Tallest
    :The height of the selected widgets will be altered so that each of them will have the same height as the tallest one. The position of the widgets will not be changed.  
    :The height of the selected widgets will be altered so that each of them will have the same height as the tallest one. The position of the widgets will not be changed. </translate>
    <translate>
    <!--T:13-->
    -->
    <!-- TODO: see info box above
    :;To Narrowest
    :;To Narrowest
    :The width of the selected widgets will be altered so that each of them will have the same height as the narrowest one. The position of the widgets will not be changed.  
    :The width of the selected widgets will be altered so that each of them will have the same height as the narrowest one. The position of the widgets will not be changed. </translate>
    <translate>
    <!--T:14-->
    -->
    <!-- TODO: see info box above
    :;To Widest
    :;To Widest
    :The width of the selected widgets will be altered so that each of them will have the same height as the widest one. The position of the widgets will not be changed.  
    :The width of the selected widgets will be altered so that each of them will have the same height as the widest one. The position of the widgets will not be changed.
    * Aligning positions of the selected widgets. The commands are available in the Format->Align Widgets Position submenu of the menubar and in the Align Widgets Position submenu of the context menu. The toolbar's drop down button Align Widgets Position is also available.  
    * Aligning positions of the selected widgets. The commands are available in the <menuchoice>Format->Align Widgets Position</menuchoice> submenu of the menubar and in the <menuchoice>Align Widgets Position</menuchoice> submenu of the context menu. The toolbar's drop down button <menuchoice>Align Widgets Position</menuchoice> is also available.  
    -->
     
    <!--T:5-->
    <!-- TODO: see info box above
    :;To Left
    :;To Left
    :All the selected widgets' left positions will be moved to the position of the leftmost widget's left edge.  
    :All the selected widgets' left positions will be moved to the position of the leftmost widget's left edge. </translate>
    <translate>
    <!--T:15-->
    -->
    <!-- TODO: see info box above
    :;To Right
    :;To Right
    :All the selected widgets' right positions will be moved to the position of the rightmost widget's right edge.  
    :All the selected widgets' right positions will be moved to the position of the rightmost widget's right edge. </translate>
    <translate>
    <!--T:16-->
    -->
    <!-- TODO: see info box above
    :;To Top
    :;To Top
    :All the selected widgets' top positions will be moved to the position of the uppermost widget's upper edge.  
    :All the selected widgets' top positions will be moved to the position of the uppermost widget's upper edge. </translate>
    <translate>
    <!--T:17-->
    -->
    <!-- TODO: see info box above
    :;To Bottom
    :;To Bottom
    :All the selected widgets' bottom positions will be moved to the position of the bottommost widget's bottom edge.  
    :All the selected widgets' bottom positions will be moved to the position of the bottommost widget's bottom edge. </translate>
    <translate>
    <!--T:18-->
    -->
    <!-- TODO: see info box above
    :;To Grid
    :;To Grid
    :All the selected widgets' top-left corners will be moved so that they are positioned in the nearest grid point.  
    :All the selected widgets' top-left corners will be moved so that they are positioned in the nearest grid point.  
    -->


    <!--T:6-->
    <!-- TODO: see info box above
    None of the above commands resizes the widgets.
    None of the above commands resizes the widgets.
    -->
    <!--T:7-->
    <!-- TODO: see info box above
    There are also additional commands available: <menuchoice>Bring Widget to Front</menuchoice> (i.e. above all other widgets) and <menuchoice>Send Widget to Back</menuchoice> (i.e. below all other widgets). These two commands are rarely used, as it is not common to place one widget on top of an other (except when a container widget contains other widget inside). Also note that clicking a widget with a mouse button is enough to bring the widget to front.
    -->
    <!--T:8-->
    {{Prevnext2
    |prevpage=Special:MyLanguage/Kexi/Handbook/Building_Simple_Databases/Designing_Forms/Widget_layouts
    |prevtext=Widget layouts
    |nextpage=Special:MyLanguage/Kexi/Handbook/Building_Simple_Databases/Designing_Forms/Setting_the_tab_order
    |nexttext=Setting the tab order
    |index=Special:MyLanguage/Kexi/Handbook|indextext=Back to menu
    }}


    There are also additional commands available: Bring Widget to Front (i.e. above all other widgets) and Send Widget to Back (i.e. below all other widgets). These two commands are rarely used, as it is not common to place one widget on top of an other (except when a container widget contains other widget inside). Also note that clicking a widget with a mouse button is enough to bring the widget to front.
    <!--T:9-->
    [[Category:Kexi]]
    [[Category:Tutorials]]
    </translate>

    Latest revision as of 19:47, 13 June 2012

    Other languages:

    Setting widgets size and position by hand

    You will probably want to modify the position and size of widgets so the form can look cleaner and be easier to use. The Kexi form designer simplifies this task by offering the following groups of commands:

    Information

    The functions that were explained in this page does not seem to be availlable in the current version of Kexi (2.4)