adam_adam_adam
06-04-2007, 07:36 AM
Hi I was wondering how to implement any padding and margins in openlaszlo design. I've already seen and used "spacing" in views, but it doesn't give me the control that I need. It will only put space before the start of a new view (as far as I can tell). This doesn't allow me to control how far things are away from the inside of a view, or add any space after the end of a view.
I've looked in views, nodes, and layouts for any sign of padding. The only place I can find anything is in Tabs, but I'm not using tabs.
I've also considered adding a view outside of the view that I'm working in to help control spacing. This seems a bit clumsy to have to do all the time. I have to add one view for a border (unless someone can tell me another way how?) and another view to control padding and another view to control margins? Then when I want to reference other components I have to use lines like: parent.parent.parent.parent.something. So I would prefer not to have to use hundreds of views. Is there any other way?
Does anyone have any idea how to get the spacing I want?
Thanks so much,
Adam
I've looked in views, nodes, and layouts for any sign of padding. The only place I can find anything is in Tabs, but I'm not using tabs.
I've also considered adding a view outside of the view that I'm working in to help control spacing. This seems a bit clumsy to have to do all the time. I have to add one view for a border (unless someone can tell me another way how?) and another view to control padding and another view to control margins? Then when I want to reference other components I have to use lines like: parent.parent.parent.parent.something. So I would prefer not to have to use hundreds of views. Is there any other way?
Does anyone have any idea how to get the spacing I want?
Thanks so much,
Adam