Page 1 of 1

Set padding in TIWCGJQMRegion

PostPosted: 07 Mar 2014 12:05
by Davide
Hello,
I'm working on a layout with two content region, a secondary on the left and a primary on the right (like in your demo).
In the left content region I inserted a TIWCGJQMListBox.
The ListBox appear with a lot of space around (I don't know if is padding of the region or margin of the Listbox).
How can I set (decrease) the space around the ListBox ?

Thank you,
Davide

Re: Set padding in TIWCGJQMRegion

PostPosted: 07 Mar 2014 12:38
by Alexander Bulei
Hi Davide,

I presume, you are talking about ContentTyp jqmroctPrimary and jqmroctSecondary, so the padding and margins come from framework css, and if you need, you can override them via new css class or just set the style in element (JQMRegion.Style).

Examples:

  • Via css:
    1. Set the JQMRegion.Css = 'my-custom-layout';
    2. Create or add to your custom css file, this class:

    css code
    .my-custom-layout{
    padding: 0 !important;
    margin: 0 !important;
    }

  • Property JQMRegion.Style, just add the padding and margin style properties.

Best Regards.