AbstractTextControl without setTextStyle()?
Hello, guys!
I work with the manipulation of text (Label, TextField... etc you know) and I need change the style of text with C++, but Cascades API do not show how setting a TextStyleDefinition on a control's text.
There are an AbstractTextControl::textStyle() TextStyleDefinition back pointer method, but do not have an AbstractTextControl::setTextStyle (TextStyleDefinition).
I know it's possible with QML, but not in C++. I have the text control in a custom c++ class and don't know how to change the style of text.
Any ideas?
Thank you.
Of course, I say to myself:
----------------------
Label * label = Label::create () .text ("text por defecto");
TextStyleDefinition * was = label-> textStyle();
Was-> setFontWeight (FontWeight::Bold);
----------------------
I am * beep * this morning
Tags: BlackBerry Developers
Similar Questions
-
I have an ipod touch 128 GB... but I'm almost to reach its maximum.
I want to do is buy a new ipod touch 128 GB and add new music without synchronizing the entire library to it... I have 2 ipods in conjunction with the other copies of the other.
is this possible?
What should I do?
Matt
When you get the new iPod, you can use iTunes on your computer to select and synchronize the music you want on it, in the same way that you synchronize your current iPod - your iTunes will recognize them as different devices and will remember your choice of synchronization for each, it will not (unless, for example, you restore the backup of your current on her iPod) put the same content on both.
(I asked for your post be moved to the iPod Touch forum, where you have posted is the iPad forum use.)
-
Hi all
I have two computers, a MacBook Pro and iMac. I use the new feature for Sierra macOS, which allows me to continually synchronize my office on iCloud. I welcome the Office on my iMac be synchronized on the cloud. Now, I would have the exact same office on my MacBook Pro. I tried many ways, including by dragging files to iCloud Drive on my desktop, but the synchronization does not work. If I enable syncing on my MacBook Pro, I know that I have duplicate files.
With this method, I would like to: whenever I have add a file on my desktop iMac computer, it shows up on my MacBook Pro Office without the need for me to keep about iCloud road opening.
Thanks for reading this.
Ethan
If you enable sync on the MacBook Pro, it should not be duplicates. What makes you think it?
-
Can I pair a Apple Watch to my iPhone without a camera?
Can I pair a Apple Watch to my Iphone without a camera (it does not)
I see know reason why not if it's an iPhone 5 or later version.
My only concern would be the cause of what ever the camera not only not for work could have an impact of components such as wifi and bluetooth which is necessary
-
Just got the new iPhone 7 & when I transfer iphone 6 iPhone 7, my music has arisen on the phone, but none of my music is available offline, try to understand how I can download all at once for use offline, without having to enter each individual album and click the cloud. I have a lot of music on my phone, would take me forever to individually download each album one by one for offline use.
I have both bought albums/songs itunes and also many of the monthly music apple package. In any case for all it all at once?
Hello
You must use the same identifier apple
Go down homepage itunes page where it says more about this music bought to display
And download
For music apple if its does not sign of apple ID then sign.
See you soon
Brian
-
My friend is going to go to New York for the holidays of the maintains 21 October to 31 October. And I really want to buy the iPhone 7 more 128Gb it. I know that I need a free sim card or without a contract. I asked best buy about this and they said they don't sell iPhones with contracrs. Is this possible?
Thank you.
Apple has not announced when they will start to sell the iPhone Unlocked 7.
-
Since iOS 10.0.2 my phone is accessible without the access code
Since iOS 10.0.2 my phone is accessible without the access code after I pressed the sleep button. Press the home key several times my phone opens. As a first step, it is that he fell asleep in itself not when I used the sleep button but now even after skeep button I can access my phone without the password.
the rear power and apple support site are not easy to use to report the problem.
Have you tried to set up your password again in the settings?
-
You can change the tempo without affecting/stretch automatically audio?
My workflow...
import an instrumental, then add a tempo meter to detect the tempo... can change the tempo of the project... but OOPS, that extends the audio file... How can I change the tempo without changing the audio file? Thank you!
Region selected: in the region Inspector, uncheck 'follow Tempo and Pitch '.
This will separate your audio region of tempo changes.
-
Does anyone know how to turn off this setting when your phone is at a certain angle turns on without you pressing the button side feed or House? Please if you know tell me!
Settings > display and brightness > raise to Wake
-
How can I access Siri on my iMac without using the icon?
How can I access Siri on my iMac without using the icon? Can I say "Hey Siri"?
There is no option "Hey Siri" on a Mac because they do not have the necessary pickups. You must use the icon in the menu bar or Dock.
-
How can I uninstall Sierra & return to El Capitan without an external hard drive or equivalent required by the instructions online? I find too many misadventures and not happy.
Hello
Check out this useful tutorial: https://www.igeeksblog.com/how-to-downgrade-macos-sierra-to-mac-os-x-el-capitan/
-
Can I use Apple pay without using my fingerprints?
I have an iphone 6 and I want to use Apple pay but there seems to be a way to get Apple to pay without using
the fingerprint. Is it possible to use Apple pay with an only access code?
No, you must have active Touch ID. Is there a reason you won't do?
-
Anyone can use my phone without password afetr ois 10
Anyone can access my phone without my password after update to 10 months
You have a question?
-
How to get the Pages to print postcards correspondence without borders/maps?
I have Pages 5.6.2 and I'm unable to print postcards correspondence without borders/cards. I have the margins are set to 0 and each adjustment in the format I can think. What I'm missing! Is there a simple fix or is this not possible? (I was able to do this in Publisher before moving on to my Macbook Pro - so I know this isn't my printer). I'm extremely frustrated - thanks for your help.
Did you install the latest printer driver for your printer and selected in your printer dialog?
Postcards and cards being generally smaller than the usual printed sheet, they are usually implemented in multiple on a page, so what you print on and how they are arranged on the page?
Peter
-
I need iOS with airplay and without mirror 10
I used my IPAD to stream Showtime for years now with Airplay without mirroring. Now the new iOS 10 don't leave me with mirror and SHOWTIME seems to be the only one that will work with the mirroring on. How do I get it off the coast of mirroring on the new iOS 10.
Hello. The new control centre has two parts. Slide up, then to the left to access the right pane where you will see the devices available for AirPlay base already mentioned.
Maybe you are looking for
-
In the new version of Firefox, when I start typing something in the address bar, instead of display the suggestions of my story, it shows 3 ~ ' popular search strings ", as in the Google search bar (for example if I type"a", it shows aol mail aol and
-
Need driver for Brother Printer MFC-J430
HOW CAN I GET THE DRIVER DOWNLOADED FOR THIS PRINTER WIRELESS. WHEN I PUT IT TO THE TOP HAS BEEN HERE THEN HE DISAPPEARED AND I CAN'T RUN AGAIN. BROTHER MFC-J430 Moved from the community involvement Center Edit: "driver required for ' added in
-
G9 - 791 2 X external monitors
Hello I have a g9-791 and problems my second monitor external to work. I would use the built-in display, 2 x external monitors, the 980 m AFAIK should be capable of it. first screen is plugged into the hdmi port, when I plug a second port to display,
-
Cannot open the Control Panel, add and remove flashes then disappears
Original title: Add and remove flashes then disappears can get the control panel but when add and delete is pressed it flashes then disappears. someone help me please
-
Program of the end but the computer will not stop
When I shut down my computer I getEnd bc and end program 3ac errors and it will not be closed.