Zum Inhalt springen

[GMENU] einrücken des Textes

Erstellt am 7. Februar 2006 · 1 Antwort · letzte Antwort am 12. Februar 2006

Tags: Frage

Renegade ·

Hallo

Ich hab ein Problem wo ich jetzt anstehe, hab das Menü ausgerichtet mit 10.offset, aber die schrift lässt sich nur in der höhe verstellen.

Hiermal der TScript für das GMenu

# Grafisches  Menü
MENU = HMENU
MENU {
special = directory
special.value = 1
1 = GMENU
1.NO = 1
1.NO {
linkWrap = <LI class=MenuLeft>  |</LI>
wrap = |<br>
XY = 180,24 
backColor = #666666

# Text für das Menü
10 = TEXT
10.text.field = title
10.fontColor = #FFFFFF
10.fontFile = fileadmin/fonts/arial.ttf
10.fontSize = 12
10.offset = 0,12
}

#Einen RollOver Zustand beschreiben
      1.RO < .1.NO
      1.RO.10.fontColor = #0033ff
      1.RO.10.fontSize = 12
      1.SPC < .1.NO
      1.SPC.10.fontColor = #ffffff
      1.SPC.XY = 180,24


      #Die zweite Navigationsebene

      2 < .1
      2.NO{
           XY = 180,17

       	  
           backColor = #666666
           wrap = |<br>
           10.fontFile = fileadmin/fonts/arial.ttf
           10.fontColor = #ffffff
           10.fontSize = 9
           10.offset = 20,13
           }

     2.RO < .2.NO
     2.RO.10.fontColor = #0033ff
     2.RO.10.fontSize = 9
    

#Die dritte Navigationsebene
      3 < .1
      3.NO{
           XY = 180,25

           backColor = #666666
           10.fontFile = fileadmin/fonts/arial.ttf
           10.fontColor = #ffffff
           10.fontSize = 9
           10.offset = 20,10
           }

     3.RO < .3.NO
     3.RO.10.fontColor = #ff0000



}
tobi76 ·

bei

10.offset

hast du doch die möglichkeit sowohl x- als auch y-werte einzugeben.

10.offset = 0,12

oder

10.offset = 10,12