baks's Recent Forum Activity

  • Hi I need to paste the text from my clipboard, I got this js code to copy the text from a textbox

    "document.getElementById(""myText"").select();document.execCommand('copy');"

    But now I need to paste it.

    I tried with the clipboard plugin but I can't get it working.

    I need it to import it into an array as JSON.

    Tagged:

  • Hi, I used a file chooser and an HTML Element to load and read a PDF, but now I want to extract some information from this PDF to fill in some variables.

    I read something about using postMessage() but I'm not sure because I'm not familiarized with Javascript.

    Project file

    PDF sample This is a sample if you don't have any pdfs to upload on your computer, thanks so much.

  • Everything is working fine.

    Look for the problem on your own.

    Great, thanks.

    Is good to know it.

  • Hi, is the plugin still working?

    I tried even on a new project, just adding the ids and with test mode, just loading and showing ads, and is not working.

    Not sure if is just me because I'm using the same method I always used, but now is not working for me.

    Tagged:

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Oh, I've only just recently started testing with the HTML element. Are you saying that when you scale the layout, the html element doesn't scale with it and therefore wraps because the content such as text is now larger? If so, I remember when I was messing around with it that you need to have the element on auto-size, and all units on em so it scales accordingly to the parent. I haven't used chartjs, but assuming I understood your problem correctly, you might need to override some of the styles to use em instead of px.

    Oh, don't worry, I saw the charts js has a plugin to zoom in and I trying to understand how to implement it on Construct using this tutorial:

    Subscribe to Construct videos now

    Thanks again for the help, if I get it I will answer here to show the answer.

  • Not sure if this is what you mean, but if you just don't want the text to wrap to the next-line, you can use white-space: nowrap in your css. You can also throw in text-overflow: ellipsis if you want an the dots if a text is cut off and doesn't wrap.

    Thanks, it works on simple text, but this is the thing, I implemented Charts js on Construct,

    And I want to zoom in when you are on mobile, this is what I can't do because is wrapped to the screen size, so when I change the layoutscale, the html element remains the same scale.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • If you take any HTML element example you can see how it wraps the text when it goes out of the screen.

    But I need to make zoom in on this HTML without the wrapping, how can I avoid it?

    HTML Table sample

    Table wrapped and resized to the screen

    Tagged:

  • It should work, but I think you will have to use an all-lowercase name when requesting by URL, because Construct lowercases all filenames on export and Android is a case-sensitive system.

    You're right! Using lowercases works perfect. Thanks so much.

baks's avatar

baks

Member since 17 Jul, 2014

Twitter
baks has 2 followers

Connect with baks

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies