How do I set the screen size of my site?
Hey guys making a site for a friend and I'm not sure on how I go about setting a screen size that can be viewed on varying screen sizes like 1280x800 and up. At the moment on my 1920x1080 display it looks fine but when I open it on her MacBook Pro (1280x800) it is cut of by half and my website has some fixed anchors which I do not allow scrolling so you are kind of stuck.
Thanks to anyone that can help, can't find a tutorial anywhere
In the normal state the screen on an iPad will rotate depending on which side is up. Any of the four sides can be up or on top and the display will look correct. But if you want to lock the display in one orientation you can. Swipe up from the bottom of the screen to reveal the Control Center. Then tap on the Orientation Lock icon. That's the icon of the small padlock surrounded by a circular arrow. That icon will appear at the top right of the display and the screen will no longer rotate. Repeat the same procedure to unlock orientation.
Similar Messages
-
How to set the screen size with nested Iview screen
Can someone show me how to set the screen size with nested IView screen.
at the moment i only try it with trial and error untill it looks somewhat close. Is there a property in VC to set the size for Height and width.
The same question is for the form. the form elements inside the form is easy but the actual form is still a challenge.Hi,
Yes you are correct ,Still the Form and iview are not able to change thier Layout Structure using a Propery.
it is available with VC7.1
Govindu -
I am Making a program for purchasing games, with the basic layout alsot done, except on problem. When the purchase button is pressed, a dialog shows up but nothing is seen until i resize it. How would i set the frame size so that i do not need to resize it each time? below is the code for the files. Many thanks in advance.
CreditDialog
import java.awt.*;
import java.awt.event.*;
class CreditDialog extends Dialog implements ActionListener { // Begin Class
private Label creditLabel = new Label("Message space here",Label.RIGHT);
private String creditMessage;
private TextField remove = new TextField(20);
private Button okButton = new Button("OK");
public CreditDialog(Frame frameIn, String message) { // Begin Public
super(frameIn); // call the constructor of dialog
creditLabel.setText(message);
add("North",creditLabel);
add("Center",remove);
add("South",okButton);
okButton.addActionListener(this);
setLocation(150,150); // set the location of the dialog box
setVisible(true); // make the dialog box visible
} // End Public
public void actionPerformed(ActionEvent e) { // Begin actionPerformed
// dispose(); // close dialog box
} // End actionPerformed
} // End Class
MobileGame
import java.awt.*;
import java.awt.event.*;
class MobileGame extends Panel implements ActionListener { // Begin Class
The Buttons, Labels, TextFields, TextArea
and Panels will be created first.
private int noOfGames;
// private GameList list;
private Panel topPanel = new Panel();
private Panel middlePanel = new Panel();
private Panel bottomPanel = new Panel();
private Label saleLabel = new Label ("Java Games For Sale",Label.RIGHT);
private TextArea saleArea = new TextArea(7, 25);
private Button addButton = new Button("Add to Basket");
private TextField add = new TextField(3);
private Label currentLabel = new Label ("Java Games For Sale",Label.RIGHT);
private TextArea currentArea = new TextArea(3, 25);
private Button removeButton = new Button("Remove from Basket");
private TextField remove = new TextField(3);
private Button purchaseButton = new Button("Purchase");
private ObjectList gameList = new ObjectList(20);
Frame parentFrame; //needed to associate with dialog
All the above will be added to the interface
so that they are visible to the user.
public MobileGame (Frame frameIn) { // Begin Constructor
parentFrame = frameIn;
topPanel.add(saleLabel);
topPanel.add(saleArea);
topPanel.add(addButton);
topPanel.add(add);
middlePanel.add(currentLabel);
middlePanel.add(currentArea);
bottomPanel.add(removeButton);
bottomPanel.add(remove);
bottomPanel.add(purchaseButton);
this.add("North", topPanel);
this.add("Center", middlePanel);
this.add("South", bottomPanel);
addButton.addActionListener(this);
removeButton.addActionListener(this);
purchaseButton.addActionListener(this);
The following line of code below is
needed inorder for the games to be
loaded into the SaleArea
} // End Constructor
All the operations which will be performed are
going to be written below. This includes the
Add, Remove and Purchase.
public void actionPerformed (ActionEvent e) { // Begin actionPerformed
If the Add to Basket Button is pressed, a
suitable message will appear to say if the game
was successfully added or not. If not, an
ErrorDialog box will appear stateing the error.
if(e.getSource() == addButton) { // Begin Add to Basket
// GameFileHandler.readRecords(list);
try { // Begin Try
String gameEntered = add.getText();
if (gameEntered.length() == 0 ) {
new ErrorDialog (parentFrame,"Feild Blank");
} else if (Integer.parseInt(gameEntered)< 0
|| Integer.parseInt(gameEntered)>noOfGames) { // Begin Else If
new ErrorDialog (parentFrame,"Invalid Game Number");
} else { // Begin Else If
//ADD GAME
} // End Else
} catch (NumberFormatException num) { // Begin Catch
new ErrorDialog(parentFrame,"Please enter an Integer only");
} // End Catch
} // End Add to Basket
If the Remove From Basket Button is pressed, a
a suitable message will appear to say if the
removal was successful or not. If not, an
ErrorDialog box will appear stateing the error.
if(e.getSource() == removeButton) { // Begin Remove from Basket
try { // Begin Try
String gameEntered = remove.getText();
if (gameEntered.length() == 0 ) {
new ErrorDialog (parentFrame,"Feild Blank");
} else if (Integer.parseInt(gameEntered)< 1
|| Integer.parseInt(gameEntered)>noOfGames) { // Begin Else If
new ErrorDialog (parentFrame,"Invalid Game Number");
} else { // Begin Else If
//ADD GAME CODE
} // End Else
} catch (NumberFormatException num) { // Begin Catch
new ErrorDialog(parentFrame,"Please enter an Integer only");
} // End Catch
} // End Remove from Basket
If the purchase button is pressed, the
following is executed. NOTE: nothing is done
when the ok button is pressed, the window
just closes.
if(e.getSource() == purchaseButton) { // Begin Purchase
String gameEntered = currentArea.getText();
if (gameEntered.length() == 0 ) {
new ErrorDialog (parentFrame,"Nothing to Purchase");
} else { // Begin Else If
new CreditDialog(parentFrame,"Cost � 00.00. Please enter Credit Card Number");
} // End Else
} // End Purchase
} // End actionPerformed
} // End Class
RunMobileGame
import java.awt.*;
public class RunMobileGame { // Begin Class
public static void main (String[] args) { // Begin Main
EasyFrame frame = new EasyFrame();
frame.setTitle("Game Purchase for 3G Mobile Phone");
MobileGame purchase = new MobileGame(frame); //need frame for dialog
frame.setSize(500,300); // sets frame size
frame.setBackground(Color.lightGray); // sets frame colour
frame.add(purchase); // adds frame
frame.setVisible(true); // makes the frame visible
} // End Main
} // End Class
EasyFrame
import java.awt.*;
import java.awt.event.*;
public class EasyFrame extends Frame implements WindowListener {
public EasyFrame()
addWindowListener(this);
public EasyFrame(String msg)
super(msg);
addWindowListener(this);
public void windowClosing(WindowEvent e)
dispose();
public void windowDeactivated(WindowEvent e)
public void windowActivated(WindowEvent e)
public void windowDeiconified(WindowEvent e)
public void windowIconified(WindowEvent e)
public void windowClosed(WindowEvent e)
System.exit(0);
public void windowOpened(WindowEvent e)
} // end EasyFrame class
ObjectList
class ObjectList
private Object[] object ;
private int total ;
public ObjectList(int sizeIn)
object = new Object[sizeIn];
total = 0;
public boolean add(Object objectIn)
if(!isFull())
object[total] = objectIn;
total++;
return true;
else
return false;
public boolean isEmpty()
if(total==0)
return true;
else
return false;
public boolean isFull()
if(total==object.length)
return true;
else
return false;
public Object getObject(int i)
return object[i-1];
public int getTotal()
return total;
public boolean remove(int numberIn)
// check that a valid index has been supplied
if(numberIn >= 1 && numberIn <= total)
{ // overwrite object by shifting following objects along
for(int i = numberIn-1; i <= total-2; i++)
object[i] = object[i+1];
total--; // Decrement total number of objects
return true;
else // remove was unsuccessful
return false;
ErrorDialog
import java.awt.*;
import java.awt.event.*;
class ErrorDialog extends Dialog implements ActionListener {
private Label errorLabel = new Label("Message space here",Label.CENTER);
private String errorMessage;
private Button okButton = new Button("OK");
public ErrorDialog(Frame frameIn, String message) {
/* call the constructor of Dialog with the associated
frame as a parameter */
super(frameIn);
// add the components to the Dialog
errorLabel.setText(message);
add("North",errorLabel);
add("South",okButton);
// add the ActionListener
okButton.addActionListener(this);
/* set the location of the dialogue window, relative to the top
left-hand corner of the frame */
setLocation(100,100);
// use the pack method to automatically size the dialogue window
pack();
// make the dialogue visible
setVisible(true);
/* the actionPerformed method determines what happens
when the okButton is pressed */
public void actionPerformed(ActionEvent e) {
dispose(); // no other possible action!
} // end class
I Know there are alot of files. Any help will be much appreciated. Once again, Many thanks in advancesetSize (600, 200);orpack ();Kind regards,
Levi
PS:
int i;
parses to
int i;
, but
[code] int i;[code[i]]
parses to
int i; -
How do I set the default size of a new folder?
I have finder sized the way I want for existing folders and if I do Finder > New Finder Window. These preferrences, however, do not seem to apply to new folders. Everytime I create a new folder on my desktop, and open that folder for the first time, the window size is really small and the sidebar is narrow. This is incredibally annoying. How do I set the default size for all new folders? Is there a plist file I can edit to fix this? Or an AppleScript I can run automatically in the background that fixes this? I am running Mavericks 10.9.1.
If you use the Finder's New Finder Window command (command N) to create a new window, resize it, place it where you want, and set it for icon view or however you want it. Then close it. Closing it is what sets these as the default. That should become the default for every new Finder window you create using the new window command. But if you have lots of windows open at once and then close them, the last window you close will set a new default.
There are lots of utilities that control Windows - their size and placement. I use one called Moom but there are many more. -
How do I set the font size in a call out (box) tool
How do I set the font size in a call out (box) tool ?
Good Morning Mr. Alheit,
Thanks for this bit of apparently obscure knowledge... <<ctrl +e>>
- I'll bet there is more user functions in Adobe Acrobat 9 that I'm not
aware of, too...
- What reference source do your use?
M/G -
How do i get my screen size of web sites back to normal size.
how do i get my screen size of web sites back to normal size.
Try COMMAND and two finger drag on the trackpad.
Ciao. -
How can I set the minimum size the location bar should automatically resize to
I have moved all of my navigation buttons, location bar and tabs to be in line. This has been done to maximise the available space on screen.
This works perfectly with two or three tabs open, but once more tabs are opened the location bar automatically shrinks to allow for more tabs and becomes unusable. I want to set the minimum size the location bar should shrink to but I do not know how to do this.
[http://www.mediafire.com/imgbnc.php/eed5749531b3081c43186f59492500e5f089c498c0372fb6fa797b7d697826806g.jpg Screen shot displaying automatically resizing location bar]
Any help would be appreciated.
Thanks.FBZP seems to be the only way to do the minimum amout setting in standard SAP.
You can check the BTE (Business transaction event) 00001820 for excluding the low amount items in F110. Please search SDn on how to use the BTEs.
Regards,
SDNer -
I am using PS Touch from my tablet . I am importinga photo from an SD card . When all editing is completed I then send it wireless from the tablet via Epson I print to the printer. It all works great except that part of the photo at each end is cut off and does not print. I am printing on 8.5 x11 paper.
How do I convert the image size in PSTouch frm pixels to inches?Epson's iPrint has always been an oddball. It will always "zoom in" on an image to print even if you have the proper dimensions and resolution set for actual print size. I think other users have reported this, at least on Android.
You can't have PS Touch show inches instead of pixels at this time but you can use an online website to find out what you need to fit within a particular resolution. (Google "pixels to inches calculator".) -
== Issue
==
I have another kind of problem with Firefox
== Description
==
I have various formatting issues:
a. When I open a msg from my web browser (Cablevision), the font is sooo small I need a magnifier to read it. How can I set the font to a size I can easily read?
b. When I forward msgs, the text gets all distorted and I need to clean it up (some symbols, lots of spaces between words). How can this be fixed?
c. When I want to tell someone about a website, I cannot type the URL in so that all they have to do is click on it. How can this be fixed?
d. When I open messages, the text opens in a small window and covers the "Show Images" button. Why?
== This happened
==
Every time Firefox opened
== Ever since I started using Firefox (a few months ago)
==
'''Troubleshooting information'''
I didn't find any results
== Firefox version
==
3.6.3
== Operating system
==
Windows 7
== User Agent
==
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
== Plugins installed
==
*-nphpclipbook
*Office Plugin for Netscape Navigator
*The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
*Default Plug-in
*Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
*NPRuntime Script Plug-in Library for Java(TM) Deploy
*The Hulu Desktop Plugin allows Hulu.com to integrate with the Hulu Desktop application.
*Shockwave Flash 10.0 r45
*Adobe Shockwave for Director Netscape plug-in, version 11.5
*iTunes Detector Plug-in
*3.0.40624.0
*NPWLPG
*Next Generation Java Plug-in 1.6.0_20 for Mozilla browsersThe text editor is the text area that you use on the webmail (Yahoo, Hotmail) website to create a new mail.
You can compare that with the ''Post new message'' text area that you use to create a new post on this forum.
Just above the text area that you use to enter the message text there is usually a button bar with buttons that allows some text formatting like Bold and Italic and can also include a button to make a clickable hyperlink.
Check the tooltip of each button by hovering with the mouse over each button.
Make Link - https://addons.mozilla.org/firefox/addon/142 -
How Do You Set the Maximum Size of a JFrame?
Can someone show me a quick example? The JFrame can be empty, I just want to know how to set it's maximum size. I tried using setMaximumSize() and it doesn't work for some reason but setMinimumSize() works fine.
I tried it using a BoxLayout and even using null as a layout manager and can't get it to work. I heard that the other layout managers don't allow you to set the maximum size of a JFrame so that is why I tried it with the layouts that I did.
I tried the following code (imported the necessary classes), but it does not work...
public class MyFrame extends JFrame
public MyFrame()
super("TestFrame");
setLayout( new BoxLayout(getContentPane(), BoxLayout.X_AXIS) );
setMaximumSize( new Dimension(400,200));
setSize(300,150);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible( true );
}// end classReposted from
{color:#0000ff}http://forum.java.sun.com/thread.jspa?threadID=5236259{color}
@OP:
When you repost a topic, please always provide a link to the previous post so people can check what suggestions were already offered (and didn't solve the problem).
Better still, give a short summary of the advice you have already tried.
I suggested setBackground(...) so you can see whether your MyFrame is actually occupying the entire real estate of the window. Looks as if trying it out (which I would have done for you if I'd been at home, where my JDK is) would have been too much effort for you.
I'm pretty much a novice in Swing, but I can tell you this: setLayout controls the layout of components added to the JFrame, not the layout of the frame with respect to its parent container.
Luck, Darryl -
HT4623 how do i set the screen so i can see it outside
how do i set my screen so i can see it outside
Hi elinor0317,
Welcome to the Support Communities!
The article below may be able to help you with this.
Click on the link to see more details and screenshots.
iOS: Understanding the brightness setting
http://support.apple.com/kb/HT5506
Cheers,
- Judy -
How do you reduce the screen size in Safari Mavericks OS
Hit the ESC (ESCAPE) key to reduce the screen size in Safari Mavericks OS
Hi,
Reader can only be used to view pdf's so you cannot perform any operations on it.
If you have Acrobat then you can go to Acrobat > save as other > Reduced file pdf
You can also go to Acrobat> Save as other> Optimized pdf and then click on 'Audit Space Usage' button to know what is occupying how much space in the pdf and adjust accordingly.
Regards,
Rave -
How do I set the Page size default in Adobe Reader using Window 8?
I need to set the page size everytime I go to print from my Adobe Reader in my windows 8. Is there a way to set the page I want letter (8.5 by 11) as a default? So I do not have to do this everytime I print something?
I can't help but wonder why Adobe doesn't respond to this - at this point there are 464 views of this item and still no answer. I have the same problem and it's a big irritation to have to set the duplex mode everytime I want to print!
-
How can I set the font size of a form field in the fdf file?
I need to dynamically set the font size of a field to accommodate text of varying length, automatic font size won't work in this case. It seems like this can be done in the FDF but I have tried several variants without success. Could someone help out with a real example of what the syntax in the fdf should look like.
I am using Acrobat Professional 8.1 but the created fdf will need to work with Reader also.I think that the font size has to be set in the form itself, not the FDF.
-
My new Firefox ver 29 always starts maximized how do i set the window size and not maximized?
I had reinstall my Windows 7 (win 7 pro 64bit)
so i had to reinstall firefox as well, installed ver 27 and updated it to version 29
now when i start firefox it will start maximized and i want to set the window size when it starts,
why the size of the window will not change and it will start maximized all the time?# In Firefox, type ''about:support'' into the address bar and press Enter.
# Click the Show Folder button. A Windows Explorer window opens.
# Right-click the Firefox taskbar icon and choose either Close All Windows or Close Window.
# In the Windows Explorer window that opened earlier, delete the ''localstore.rdf'' file.
# If you have Firefox pinned to the taskbar, right-click the taskbar icon, then right-click the Firefox icon in the menu that pops up and choose Properties.
#* If you have a desktop shortcut, simply right-click it and choose Properties.
# Click the Shortcut tab in the Properties window.
# Make sure Run is set to "Normal window".
Maybe you are looking for
-
HP Officejet Pro 8500A Premium will not print docs from computer, but will print a test page. I continually get a message that the computer cannot communicate with the printer. Not only will it not print docs, it will not print web pages using IE
-
Shared Printers and Guest Networks
I have an Airport Extreme with an HP 990cxi printer connected to the USB port. I have the printer shared. My AE is configured to Create a Wireless Network". It is also configured to create a Guest Network. As it stands, someone connected to the Guest
-
How to read a spread sheet ( .xls ) file using a pl/sql procedure or func
Hello All, Is it possible to read a spread sheet using Oracle pl.sql . I know their is a util package that is read a file but how to read a spread sheet ... ? thanks kumar
-
Unit of Measure issue - Need to be changed from volume to no dimention.
Hi Experts, I have a unit of measure as TB, which is tube. This is a volume unit. The user want to change this as "Pls have this be corrected as a non-dimensional unit of measure ". For this what is impact on system. Precautions
-
Pages crashes after iWork 9.3 update
My pages application always crashes after upgrading to iWork 9.3 , it shows a sfrendering error , this is what it shows: Process: Pages [1545] Path: /Applications/Pages.app/Contents/MacOS/Pages Identifier: com.apple.iWork.Page