I am doing a chat application. I have implement all views using frame. Now i need to implement dynamic font size i.e app should be resize its frame with respect to font in settings. If some one have any idea about that then please help me out ?
Thanks.
A proper use of Size classes and Auto Shrink property will get you through.
You'll get the best explanation here
Related
can you set a vertical orientation in a qml app?
if so?
I have searched on various sites to try and solve this problem. I found it in C ++ code but I would need the piece of code in qml language
I'm using the application project - qt quick application - empty
I'm using a version of qt 5.10.1
thank you
You're looking for Screen.orientationUpdateMask.
Once the mask is set, Screen.orientation will contain the current orientation of the screen.You can read more about the Screem QML type here. Of course the orientation in this case is set by the accelerometer.
If you want to be able to go back and forth between portrait and landscape without the use of the accelerometer and while having the logic in qml you will need to use the Transform, Scale and Rotation QML types. I wouldn't recommend this approach.
One alternative to using Transform would be to use two different views all together, which might not be a good idea for maintainability especially if you want to use the 4 orientations.
If you want to force the orientation no matter what you can do it in the manifest file as you would normally without Qt.
I'm not the best at using bootstrap but trying to learn. I have a row and 3 col-md-4's I put a image in each column and they look and fit great with the thumbnail class. But without that class the images are their full size and overlap and when I scale the browser down they stay big and you have to use the scroll arrow. I thought the col-md-4 would determine the display of the image but it seems not. When not using the thumbnail class do I have to just resize my photos to the size I want them to display? Please help me understand. Thank you
Try using max-width="100%" (or the class img-responsive). See the bootstrap docs for more info.
I wanna make my ISomething app as native as possible and have no idea whats a good size for the Elements. Is there any normal/default/standard size for UIButtons or UILabels i can use? Are there any guidelines for something like that?
If not: What size would you (experienced developers) recommend? What size is normally used?
There is a guideline made by Apple:
http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/Introduction/Introduction.html
I suggest you to make a sketch before developing your app, this can help you to keep focus.
Am working with tiles and badges in metro apps. Here am able to display one at a time either image or number on a tile , But unable to display both at a time. Can anyone help me how to display image and some-number on a Tile?
Thank you.
As MSDN states:
A notification badge conveys summary or status information concerning and specific to your app. They can be numeric (1-99) or one of a set of Windows-provided glyphs.
http://msdn.microsoft.com/en-us/library/windows/apps/hh779719.aspx
Note: When you hit limits like this you might consider building a custom image that simply has whatever you want. But then you will realize that rendering an image in WinRT is not possible yet. So you will want to offload to some web server... just helping you think this through.
Ive been asked to create a website mock-up using Photoshop, but I'm not sure what size to use for my canvas.
Please could you help me about that? or give me an advice?
This is a hard question as mostly websites are adaptive. From my experience I would say the height doesn't really matter if you allow scrolling, otherways I would take 700px for height. The width should be no more then 1200px.
I'd simply suggest to stick with some grid framework, eg. 960.gs: http://960.gs/
You'll get a PSD grid to fit your design into and also CSS framework which you can use later for website coding.
For a more up to date grid framework I suggest http://unsemantic.com/ since it allows for a responsive grid.