menu item height
parent
0a2a821658
commit
e82961ee2a
|
@ -58,6 +58,7 @@ case $LANG in
|
||||||
SIZE="Rozmiar i czcionka"
|
SIZE="Rozmiar i czcionka"
|
||||||
FONT_FAMILY="Czcionka"
|
FONT_FAMILY="Czcionka"
|
||||||
FONT_SIZE="Rozmiar czcionki"
|
FONT_SIZE="Rozmiar czcionki"
|
||||||
|
LINEHEIGHT="Wysokość elementu menu"
|
||||||
FONT_CUSTOM="Wybierz czcionkę i rozmiar..."
|
FONT_CUSTOM="Wybierz czcionkę i rozmiar..."
|
||||||
COLOR_SCHEME="Motyw kolorystyczny"
|
COLOR_SCHEME="Motyw kolorystyczny"
|
||||||
GRADIENT="Kierunek Gradientu"
|
GRADIENT="Kierunek Gradientu"
|
||||||
|
@ -122,6 +123,7 @@ case $LANG in
|
||||||
SIZE="Tamaño de Menu/Panel lateral"
|
SIZE="Tamaño de Menu/Panel lateral"
|
||||||
FONT_FAMILY="Familia tipográfica"
|
FONT_FAMILY="Familia tipográfica"
|
||||||
FONT_SIZE="Tamaño de fuente"
|
FONT_SIZE="Tamaño de fuente"
|
||||||
|
LINEHEIGHT="Item height"
|
||||||
FONT_CUSTOM="Select custom font and size..."
|
FONT_CUSTOM="Select custom font and size..."
|
||||||
COLOR_SCHEME="Esquema de colores"
|
COLOR_SCHEME="Esquema de colores"
|
||||||
GRADIENT="Gradient"
|
GRADIENT="Gradient"
|
||||||
|
@ -186,6 +188,7 @@ case $LANG in
|
||||||
SIZE="Font"
|
SIZE="Font"
|
||||||
FONT_FAMILY="Font Family"
|
FONT_FAMILY="Font Family"
|
||||||
FONT_SIZE="Font Size"
|
FONT_SIZE="Font Size"
|
||||||
|
LINEHEIGHT="Item height"
|
||||||
FONT_CUSTOM="Select custom font and size..."
|
FONT_CUSTOM="Select custom font and size..."
|
||||||
COLOR_SCHEME="Color Scheme"
|
COLOR_SCHEME="Color Scheme"
|
||||||
GRADIENT="Gradient direction"
|
GRADIENT="Gradient direction"
|
||||||
|
@ -311,7 +314,8 @@ for i in 7 8 9 10 11 12 14 16 18 20; do out2+=("$(printf "<tt>%4s</tt>,%s" "$i"
|
||||||
|
|
||||||
out+=("^sep(<i>$SIZE</i>)")
|
out+=("^sep(<i>$SIZE</i>)")
|
||||||
out+=("$FONT_SIZE [ <b>${menu_font_size:-0}</b> ],^checkout(fontsize)")
|
out+=("$FONT_SIZE [ <b>${menu_font_size:-0}</b> ],^checkout(fontsize)")
|
||||||
out+=("$FONT_FAMILY[ <b>${menu_font_family:-0}</b> ],^checkout(fonty)")
|
out+=("$FONT_FAMILY [ <b>${menu_font_family:-0}</b> ],^checkout(fonty)")
|
||||||
|
out+=("$LINEHEIGHT [ <b>$item_height_factor%</b> ],^checkout(lineheight)")
|
||||||
|
|
||||||
case $menu_font_family in
|
case $menu_font_family in
|
||||||
"Noto Sans Light") nol="";;
|
"Noto Sans Light") nol="";;
|
||||||
|
@ -336,7 +340,9 @@ out2+=("<span size=\"x-large\" font_family=\"DejaVu Serif\">$de DejaVu Serif</s
|
||||||
out2+=("<span size=\"x-large\" font_family=\"Roboto Light\">$ro Roboto Light</span>,mb-setvar \"menu_font_family='Roboto Light'\";$me")
|
out2+=("<span size=\"x-large\" font_family=\"Roboto Light\">$ro Roboto Light</span>,mb-setvar \"menu_font_family='Roboto Light'\";$me")
|
||||||
out2+=("<span size=\"x-large\" font_family=\"Inconsolata\">$in Inconsolata</span>,mb-setvar menu_font_family=Inconsolata;$me")
|
out2+=("<span size=\"x-large\" font_family=\"Inconsolata\">$in Inconsolata</span>,mb-setvar menu_font_family=Inconsolata;$me")
|
||||||
|
|
||||||
|
out2+=("^tag(lineheight)")
|
||||||
|
for i in 160 180 200 240 280; do out2+=("$(printf "<tt>%4s%%</tt>,%s" "$i" "mb-setvar item_height_factor=${i};$me")");done
|
||||||
|
|
||||||
########## THEMES
|
########## THEMES
|
||||||
out+=("^sep(<i>$COLOR_SCHEME</i>)")
|
out+=("^sep(<i>$COLOR_SCHEME</i>)")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue