User Tag List

Results 1 to 8 of 8

Thread: active object text with multi-lines alignment problem on right

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    713
    Mentioned
    27 Post(s)
    Tagged
    0 Thread(s)

    active object text with multi-lines alignment problem on right

    I use the text object with multi-line setting, i center the text up and right and get this weird bug only on wide screen only for the last line.
    I use "fit inside adjust window size" option for my app.
    It happens only on wide screens, for example on a 16:9 screen i have no problem (it's the original size of the game) and only on active objects using multi-lines and right alignment.

    Screenshot_20190606-150732.jpg

    If i add a new empty line it solve the problem. But there is no problem if i align the text on the left.

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,233
    Mentioned
    175 Post(s)
    Tagged
    3 Thread(s)
    please when this happens can you also post the devices specs you are using and the android OS version
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    713
    Mentioned
    27 Post(s)
    Tagged
    0 Thread(s)
    Sure this was happening on my Nokia 3.1 running Android 9 with a screen of 1440*720 but my game is running on 960*480 on this device (because my main resolution is 854*480).
    I see that to happen on every screenshots i got from wide wide screens devices.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    713
    Mentioned
    27 Post(s)
    Tagged
    0 Thread(s)
    Ok, i come back to that really annoying issue, the problem is simple to spot:

    App properties:
    - Screen orientation: Landscape
    - Display: Fit inside and adjust windows
    - Window size: 1024*576

    Active background object properties:
    - Alignement: Right, Top
    - Multi-line: checked

    Issue:
    All the lines will have a margin on the right except the last line, even if all margins are set to 0.

    What we expect:
    All the lines should be as the last one with no margin on right.

    Picture of the problem:
    comparison.jpg
    The top device has the issue because its screen is not 16:9 format, it's wider.
    The bottom device has no issue because it perfectly fit the 16:9 format.

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,233
    Mentioned
    175 Post(s)
    Tagged
    3 Thread(s)
    please post a small mfa to test here
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    713
    Mentioned
    27 Post(s)
    Tagged
    0 Thread(s)
    Sure, here's the mfa, you must test it on a wider screen not 16:9 and you'll see the margin problem.

    text-issue.mfa

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleXNA Export Module
    Dobermann's Avatar
    Join Date
    Feb 2009
    Location
    France
    Posts
    713
    Mentioned
    27 Post(s)
    Tagged
    0 Thread(s)
    Hello, any news on that issue?

  8. #8
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,233
    Mentioned
    175 Post(s)
    Tagged
    3 Thread(s)
    Not easy to find a solution since it is done internally by Android OS, checking another solution today
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. Firefly 2D Text need alignment
    By danjo in forum Firefly
    Replies: 3
    Last Post: 14th January 2017, 02:23 PM
  2. Replies: 1
    Last Post: 9th February 2016, 03:03 PM
  3. Replies: 5
    Last Post: 3rd September 2014, 12:07 PM
  4. [BUG] Vertical text alignment
    By Bipolar_Games in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 12th June 2012, 04:16 AM
  5. Problem to loading multiple lines in Text object!
    By Crian in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th May 2010, 05:51 PM

Posting Permissions

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