Results 1 to 1 of 1

Thread: CustomUIContainer have a unwanted margin-left

  1. #1
    Basic Member
    Join Date
    Dec 2012

    Exclamation CustomUIContainer have a unwanted margin-left

    The Panel with id "CustomUIContainer" have a unwanted margin-left: 42px; that can't be changed from a custom UI during the setup state. I belive this is a leftover from the potential "info" button that appears on the left side while playing a custom game. In my case I have removed all UI elements during the setup phase in order to place my own freely. See attachment.

    margin-left: 42px;


    I have found a work-around using javascript which select the current context and then it's parent. This way I can access the style used for this faulty element.

    $.GetContextPanel().GetParent().style.marginLeft = "0px";
    Last edited by kinkyboo; 06-10-2016 at 04:51 PM. Reason: Found a workaround

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts