User Tag List

Results 1 to 3 of 3

Thread: edit box font size

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Posts
    341
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    edit box font size

    Hi, I'm building an HTML5 game that uses an edit box for text input. My app is set to resize to fill the page area, and this is working ok, but the font size of my edit boxes are kept the same. Is there a way to adjust this size according to the display resize?

  2. #2
    Clicker Fusion 2.5
    Gigatron's Avatar
    Join Date
    Jun 2020
    Location
    France
    Posts
    178
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hi ,
    I used THAOMA normal size: 28 html5 test project and it's working well for me ; What's wrong ?
    Send your .mfa please;

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Posts
    341
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I managed to solve the problem using the Window Control extension. With it, I could have a reference to the resized size of my app frame, so I made a simple formula to discover a close value for the font size my edit box should display. When the frame size changes (browser windon resized), I check the new font size value and apply it to the edit box.

    Screenshot_1.png

Similar Threads

  1. graphic font - how do i edit the font sheet?
    By JohnArtbox in forum Fusion 2.5
    Replies: 2
    Last Post: 14th December 2015, 11:20 PM
  2. Edit box font size in Beta 283.0 and 283.1
    By Melaru19 in forum Android Export Module 2.5
    Replies: 12
    Last Post: 21st October 2014, 06:50 PM
  3. Keyboard size and system font size
    By Ls2 in forum Android Export Module 2.5
    Replies: 0
    Last Post: 30th April 2014, 12:26 AM
  4. BUG Edit Box font size larger now compared with Active System Box [Beta257-6]
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 6
    Last Post: 27th March 2013, 11:06 AM
  5. Edit Obj : Font Size : Won't Increase?
    By Annie in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th August 2008, 03:34 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
  •