webite mockup using photoshop - photoshop

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.

Related

How does image sizing work?

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.

Is it possible to adjust the height of ApplicationBarMenuItem in Windows Phone 8

I have searched for quite a while to find the answer.
Unfortunately, there is not even single one answer can be found on the Internet.
I only have one ApplicationBarMenuItem inside the ApplicationBar which is "About". And after I saw the effect of the "opened" ApplicationBar, I think it is too "fat" (the height of the item is too much, or maybe the line spacing/margin-top and margin-bottom/padding-top and padding-bottom etc...I'm trying to create an image for you, because I don't know how to get a screen shot for that, but anyway I'm sure you know what I mean :))
So here again is the question, is it possible to change the height of ApplicationBarMenuItem in Windows Phone 8?
Many thanks.
No, you can't change the AppBar menu item height.
But... i think this is the way the appbar looks in any system application you can take a look at, and the user isn't going to be dissapointed by the size, is just the expected size. Only my two cents, but i don't think you need to worry about that.

How can I get the height of a QListWidgetItem in a QListWidget in PyQt?

Actually, how can I extract size of gui elements in general in PyQt?
So far I have only found sizeHint mentioning anything regarding sizes in PyQt.
Could anyone please explain how sizes works in PyQt?
In general, it's not possible to guarantee the exact sizes of widgets, because there are so many different factors that come in to play. Widgets will rendered differently depending on the window manager in use, the current GUI style, the fonts, etc - and each platform has it's own peculiarities.
To get a better understanding of all this, I would suggest you take a look at Qt's own overviews of window geometry, widgets and layouts and layout management.
To answer the specific question on the height of QListWidgetItems: they will have whatever height is calculated by the QListWidget when it lays out its items. This may take into account the items' sizeHint, which can be set programmatically with QListWidgetItem.setSizeHint.

Library for displaying image sets on an iPad

I'm looking for some cool libraries out there to display a bunch of images in my iPad application.
I think they are already out there, and I don't have to start from scratch, but I can't find some good ones.
Check out AQGridView as well.
Check out KTPhotoBrowser, I use it in a universal app, and it works pretty good.
Also, search Github : Photo Gallery for more open-source solutions.
See the answers to these questions on Stack Overflow:
How To Create A Gallery on iOS
float:left in objective-c
There are probably more questions about the same subject. Seek and you shall find.
I would simply create a web page with all the images, and then display it using UIWebView.
Did you want to do the coding yourself?
I found the Apple example "LazyTableImages" to be a useful and elegant way to display many images in a table view. It's important to a) keep the scrolling nice and smooth, and b) not freeze the user interface while downloading.
Have you tried using a UIImageView?

VB2008 Resolution-based resizing

Usually I am a web developer so this is probably a very novice question. I recently made an app in VB2008, but I developed it in a huge reso (1920x1200). The person that will be using it still uses 800x600 reso. Is there any simple way I can resize the entire interface to fit any resolution? I didn't really think about it at all while I was making the program.
I'm not sure if there's any simple way of changing your application. If you were writing an application from scratch I'd suggest looking at the Dock, Anchor, MinSize and MaxSize properties of the controls, all of which are quite useful to make them resize according to the total size of the application. Could be a bit annoying if you have to go in and change them all manually now though.
There's also the TableLayoutPanel control, you can read about it here.