SSL align-expand.sh
Interaktion und PortierbarkeitShell
#!/bin/bash # # align-expand.sh [METHOD] # # This is the script used to create the align-expand tests. These tests # put a 20x20 size-requested GtkTreeView into a 40x40 size-requested # container and try to achieve multiple combinations of expand and align # flags. The resulting GtkBuilder file is written to stdout. All of the # resulting files should render identical. # # METHOD is one of: # * flags (default) # Uses expand flags to align and expand the treeview inside a GtkGrid. # You should use this as the reference when adding tests for other # methods # * alignment # Aligns and expands the treeview in a GtkAlignment using its scale # and align properties.
if test $# -lt 1; then
method="flags" else
method=$1 fi
xscale=0.0
case "$halign" in "start") xalign=0.0 ;; "center") xalign=0.5 ;; "end") xalign=1.0 ;; "fill") xalign=0.5; xscale=1.0 ;;
esac if test $hexpand = "True"; then
xscale=1.0 fi
yscale=0.0
case "$valign" in "start") yalign=0.0 ;; "center") yalign=0.5 ;; "end") yalign=1.0 ;; "fill") yalign=0.5; yscale=1.0 ;;
esac if test $vexpand = "True"; then
yscale=1.0 fi
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.12Angebot
(Wie Sie bei der Firma Beratungs- und Dienstleistungen beauftragen können 2026-09-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.