PA UI Modding tutorial

Discussion in 'Mod Discussions' started by cola_colin, March 16, 2015.

  1. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    a workaround that is probably to do "on mousewheel lock the camera position and a little time after the mouse wheel stops unlock it".
    zx0 likes this.
  2. zx0

    zx0 Well-Known Member

    Messages:
    295
    Likes Received:
    319
    I tried this and apart from zoom happening it also seem to eat keyboard input sometimes when mouse is over build bar.
  3. zx0

    zx0 Well-Known Member

    Messages:
    295
    Likes Received:
    319
    @wondible
    On a side note, I noticed that in sandox window there is a horisontal spacing between unit icons. I set font-size to 0px and it dissapeared... How did spaces get between icons? Is this a default behavior of <a>? How am I supposed to search for it?
  4. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Web search term to learn more, or figure out what styles are applied (Coherent Debugger) ?

    Sandbox items are divs styled with inline-block, so they behave like words. Words with spaces between them apparently, where the size depends on the fonts.
    zx0 likes this.

Share This Page