CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Set padding in TIWCGJQMRegion

by Davide » 07 Mar 2014 12:05

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
Davide
 
Posts: 150
Joined: 14 Oct 2013 11:33

by Alexander Bulei » 07 Mar 2014 12:38

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQMRegion

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.