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

From KDE UserBase Wiki
(Updating to match new version of source page)
(Created page with "<!-- -->")
 
(16 intermediate revisions by 2 users not shown)
Line 2: Line 2:
==== Manuel indstilling af kontrollers størrelse og position ====
==== Manuel indstilling af kontrollers størrelse og position ====


<!--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:
Du vil nok skulle ændre kontrollernes placering og størrelse, sådan at formularen ser overskuelig ud og er nem at bruge.  


*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.  
{{Info/da|De funktioner, som blev omtalt på denne side synes ikke at være tilgængelige i den aktuelle udgave af '''Kexi''' (2.4)}}


:;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.
:;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.
:;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.
:;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.
:;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.
:;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.
* 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.


:;To Left
<!-- -->
:All the selected widgets' left positions will be moved to the position of the leftmost widget's left edge.
<!-- -->
:;To Right
<!-- -->
:All the selected widgets' right positions will be moved to the position of the rightmost widget's right edge.
<!-- -->
:;To Top
<!-- -->
:All the selected widgets' top positions will be moved to the position of the uppermost widget's upper edge.
<!-- -->
:;To Bottom
:All the selected widgets' bottom positions will be moved to the position of the bottommost widget's bottom edge.
:;To Grid
:All the selected widgets' top-left corners will be moved so that they are positioned in the nearest grid point.


None of the above commands resizes the widgets.
<!-- -->
<!-- -->
<!-- -->
<!-- -->
<!-- -->


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.
<!-- -->
 
<!-- -->


{{Prevnext2
{{Prevnext2

Latest revision as of 19:51, 13 June 2012

Other languages:

Manuel indstilling af kontrollers størrelse og position

Du vil nok skulle ændre kontrollernes placering og størrelse, sådan at formularen ser overskuelig ud og er nem at bruge.

Information

De funktioner, som blev omtalt på denne side synes ikke at være tilgængelige i den aktuelle udgave af Kexi (2.4)