After searching around the web, I believe I've come to the conclusion that Sketch still does not have a text runaround feature. The clip-path property is available to us (https://www.sarasoueidan.com/blog/css-shapes/#applying-a-custom-shape) and will hopefully become available in all browsers (https://caniuse.com/#feat=css-clip-path). Does anyone have recommendations on how to create text runaround in Sketch?
You just can't right now...
https://twitter.com/sketchapp/status/461876580407844865?lang=fr
You can play with the feature "text on path" but you will never have something that look like what our browser can do.
Related
I'm testing and looking forward into some solutions like react-pdf and others. But what I really need is to use css properties like transform, translate and more like scale and rotate for example.
Do You heard about som kinda solutions, maybe someone just used something like?
I'll be grateful for any advice.
For all future searcher:
I tried react-pdf and html-pdf, but they were not solutions that would suit me completely.
There was always a lack of either transition, transform or svg support. In addition, they required writing an additional pdf template from which to generate.
So, ultimately, I used a node library called Puppeteer, based on chromium, thanks to which you can generate a pdf just like in the preview on the chrome browser, and regardless of which browser we use.
Puppeter is in fact a Headless Chrome ('running Chrome without chrome') solution, which enters the address we want and performs actions without the participation of the user, in this case writing to a pdf file.
Link: [https://pptr.dev/]
Link: Headless Chrome
A few of months ago I watched this vido Steve Hanna video.
It describes a good way to apply style in a "Codename One application" using .css text files.
Does current version of "Codename One Plugin (3.6)" allow me to do that?
Do I need to install some .cn1lib module to make this feature work?
I would have written this as a comment, but I don't have enough reputation.
I would be very happy if you adopted Steve's cn1-css plugin into Codename One. I use it every day, and vastly prefer it to messing with the GUI theme/resource editor.
I use a lot of "custom" rounded rectangles with background color, and I'd much rather make a quick edit to a text file (.css) than "start over" in a paint application, divide image into pieces, etc. CSS is quicker and a lot less error prone (for me, at least).
Perhaps I am missing an "obvious" solution to this problem of "I want to try out a different bg color, or a different border radius," or maybe cn1-css is this obvious solution?
I am very grateful to Steve for writing this cn1-css plugin!
This is a feature Steve worked on in his spare time and integrated via an extensions which you can install with these instructions. We are looking for feedback on this feature and we are trying to gauge the desire to roll it into Codename One proper.
We know a few people use it but we're still looking for feedback.
As mentioned on the title, Iv'e just finished making a static website, using - CSS/JQUERY/SLICK/JQUERY/BOOTSTRAP.
And I have no idea what to do or where to start in order to make it responsive, tried google but still feeling confused not sure about where to start...
As for now minimizing the page seems to do nothing but cutting the area been minimized.
Changing the view to phone-view on chrome devtool causing the website to look the same, just extremely small which means you can't really read text or anything without zooming in.
any ideas or guidelines of how to start?... feeling lost which is weird cuz am feeling pretty comfortable with the method mentioned above.
Thanks alot for reading!
Thinking the mobile site after doing the standard one is not a good idea. But you are already at the end of that road and there is no going back now.
Responsiveness mostly works on the CSS side. You cambine media queries to specify which CSS should be used for each screen size, but it also has to do with your content structure. As mentioned in the comments, using rows and columns when designing your site helps doing the mobile site a lot.
I suggest you start reading this if you haven't: http://www.w3schools.com/css/css_rwd_intro.asp
And go through each section under the Responsive Web Design section. It should give you a good introduction to help you get started.
I don't know if it's the good place to ask these questions. So if it's not the case sorry for inconvenience.
We are looking for the most adapted tool for our crossplatform mobile project. Before begin to invest time we are testing many crossplatform develeoppement solution ... it's difficult to find the tool where you say Yes it this one !!
Actually we are beginning to test codename one. It looks very promising but we have some doubts and question about features and how we can organize our project :
Do you know if it is possible to separate code and design -> build each "screen of the app" with one xml file to describe components and style and one java class to define behavior and contents(dynamically or not) of these components ?
What about nfc support ? at least for android apps ?
The ui components are not really "sexy" in examples. Do you know if it is possible to load/download or why not buy some more attractive one.
I hope you will be able to answer our questions
Thank you and sorry for my english ...
build each "screen of the app" with one xml file take a look at
https://www.codenameone.com/blog/gui-builder-walkthru.html
What about nfc support ? at least for android apps ? see here
https://www.codenameone.com/blog/native-interface.html
The ui components are not really "sexy" in examples.
https://www.codenameone.com/gallery.html
But overall I would like to suggest you can't get 'that' sexy unless you not try. Don't take it wrong but see the examples submitted by other and what they developed you may get same or more than that if you try.
I hope you will be able to answer Your questions :)
Cheers
well i've made a responsive website which handles well in mobile devices. Now there are some Phonenumbers on the website which my cliƫnt would like to be clickable on any Phone so the visitor can call directly. I found that making a link of the phonenumbers works like so:
make a call
This triggers mobilephones to call the number. But it also triggers the webbrowser on any other device to follow the link, which results in "page can't be found"
I'm looking for a good anwser to tackle this problem. I've been searching for a while now but i'm getting a bit tired and frustrated.
I think i've come with a solution but i don't excactly know how to put this in the html.
There are several ways to conditional comment browsers in html. If i could do this with the link part and rule it out:
<!--[if any **none mobile** webrowsers: don't read:]>003164646464
And all mobile browsers read the link.
It seems to me, that this is the most easy way to do this, but i could be wrong...
I hope that someone can give me any pointers, I really appreciate your idea's and help!
THANKS!
There is no easy way to achieve this. You can use different approaches depending how accurate you want to be:
WURFL - most accurate, allows to check user-agent and get browser / device capabilities
You can try parsing user-agent by your own detecting OS - check this answer Detecting a mobile browser
Use css media queries to target devices with small screen
Unfortunately there is no silver bullet for this (at least I don't know one).