Vertical Scrolling


  • Donators

    Can't remember if I've asked this before but can one make it possible to scroll vertically when there is a xml/code thingy in the comment ?

    Thanks


  • Admin

    It's definitely possible, but you'll have to ask the map makers how this property is called


  • Admin

    If that's not fast enough for you, you can have a look at hexglobe, the only map with both vertical and horizontal scrolling so far


  • Donators Moderators Admin

    @beelee said in Vertical Scrolling:

    Can't remember if I've asked this before but can one make it possible to scroll vertically when there is a xml/code thingy in the comment ?

    Thanks

    Are you talking about whether the map can scroll top to bottom on the map in game?


  • Donators

    Yea sorry for not being clear enough. I meant here in the forums. When someone comments with xml code I need to scroll sideways which a lot of times I just blow it off and skip it. Git
    does the same thing


  • Admin

    @beelee You mean when someone posts something like this with a big blob of XML?

        <attachment name="triggerAttachmentMorroccoVichyBarracks1" attachTo="Germany" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
          <option name="conditions" value="conditionAttachmentVichyProtectorateLost:conditionAttachmentMorroccoVichyBarracks"/>
          <option name="uses" value="1"/>
          <option name="placement" value="Morrocco:germanBarracks"/>
          <option name="when" value="after:russiaBattle"/>
          <option name="when" value="after:chinaBattle"/>
          <option name="when" value="after:britainBattle"/>
          <option name="when" value="after:usaBattle"/>
        </attachment>
        <attachment name="triggerAttachmentMorroccoVichyBarracks2" attachTo="VichyFrance" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
          <option name="conditions" value="conditionAttachmentVichyProtectorateLost:conditionAttachmentMorroccoVichyBarracks"/>
          <option name="uses" value="1"/>
          <option name="removeUnits" value="Morrocco:germanBarracks"/>
          <option name="when" value="after:russiaBattle"/>
          <option name="when" value="after:chinaBattle"/>
          <option name="when" value="after:britainBattle"/>
          <option name="when" value="after:usaBattle"/>
        </attachment>   
        <attachment name="triggerAttachmentMorroccoVichyFactory1" attachTo="Germany" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
          <option name="conditions" value="conditionAttachmentVichyProtectorateLost:conditionAttachmentMorroccoVichyFactory"/>
          <option name="uses" value="1"/>
          <option name="placement" value="Morrocco:germanFactory"/>
          <option name="when" value="after:russiaBattle"/>
          <option name="when" value="after:chinaBattle"/>
          <option name="when" value="after:britainBattle"/>
          <option name="when" value="after:usaBattle"/>
        </attachment>
        <attachment name="triggerAttachmentMorroccoVichyFactory2" attachTo="VichyFrance" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
          <option name="conditions" value="conditionAttachmentVichyProtectorateLost:conditionAttachmentMorroccoVichyFactory"/>
          <option name="uses" value="1"/>
          <option name="removeUnits" value="Morrocco:germanFactory"/>
          <option name="when" value="after:russiaBattle"/>
          <option name="when" value="after:chinaBattle"/>
          <option name="when" value="after:britainBattle"/>
          <option name="when" value="after:usaBattle"/>
        </attachment>   
        <attachment name="triggerAttachmentMorroccoVichyDocks1" attachTo="Germany" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
          <option name="conditions" value="conditionAttachmentVichyProtectorateLost:conditionAttachmentMorroccoVichyDocks"/>
          <option name="uses" value="1"/>
          <option name="placement" value="Morrocco:germanDocks"/>
          <option name="when" value="after:russiaBattle"/>
          <option name="when" value="after:chinaBattle"/>
          <option name="when" value="after:britainBattle"/>
          <option name="when" value="after:usaBattle"/>
        </attachment>
        <attachment name="triggerAttachmentMorroccoVichyDocks2" attachTo="VichyFrance" javaClass="games.strategy.triplea.attachments.TriggerAttachment" type="player">
          <option name="conditions" value="conditionAttachmentVichyProtectorateLost:conditionAttachmentMorroccoVichyDocks"/>
          <option name="uses" value="1"/>
          <option name="removeUnits" value="Morrocco:germanDocks"/>
          <option name="when" value="after:russiaBattle"/>
          <option name="when" value="after:chinaBattle"/>
          <option name="when" value="after:britainBattle"/>
          <option name="when" value="after:usaBattle"/>
        </attachment>
    


  • I'm not completely sure what he's askin but I thought to add any thread with a Play By Email or Play By Forum topic those threads tend to get a script pop-up and crash no biggie


  • Donators

    @redrum yes
    can one fit the entire window so you don't have to go sideways to see it all ?


  • Admin

    @beelee I mean if the code snippet is small enough, it fits inside the text box, but the whole point of those "code blocks" is to not apply any formatting whatsoever, this includes line breaks.
    For stacktraces especially they become a pain to read when the lines are wrapped around, having those code blocks makes the line stay-as is.
    In case you're just annoyed that you'll have to grap the vertical horizontal scrollbar, you can easily avoid that problem by either holding shift while scrolling, or getting a mouse that supports that kind of sideway scrolling (you can then push the mousewheel to the side to achieve the same thing).

    But if you just want to see everything at once, then there probably isn't a solution for you.


  • Donators

    @RoiEX ah thank you. I see why it would be written like that then. I was just comparing it to how I work on the xml.


Log in to reply