when I create a StringGadget and an EditorGadget in Spider, the StringGadget has a margin area between the text and the edges of the input field.
With the EditorGadget the text sticks directly to the border of the input field. Can I change this within SpiderBasic or do I have to hack the CSS files of the SpiderBasic libs?
Code: Select all
If OpenWindow(0, 0, 0, 530, 600, "Main - AppName")
TextGadget(0, 5, 135, 90, 25, "Name:", #PB_Text_Right)
StringGadget(1, 100, 130, 200, 25, "Pusemuckel")
TextGadget(2, 5, 165, 90, 25, "Adresse:", #PB_Text_Right)
EditorGadget(3, 100, 160, 200, 50, #PB_Editor_WordWrap) : SetGadgetText(3, "Hauptstraße 4, 12345 Pusemuckel")
LoadFont(0, "Arial", 12)
SetGadgetFont(3, FontID(0))
EndIf
Thanks, Kurzer