zoom

Zoom in Java Swing application

Hi there, I am looking for ways to zoom in a Java Swing application. That means that I would like to resize all components in a given JPanel by a given factor as if I would take an screenshot of the UI and just applied an "Image scale" operation. The font size as well as the size of checkboxes, textboxes, cursors etc. has to be adjusted...

HTTPResponse - browser zoom size

Is there a way to control the zoom size of the HTTPResponse with the contenttype ='application/pdf'? ...

uiwebview within uiscrollview

I am having an issue with a uiwebview within a scrollview. In this scrollview, there is a "header" view at top and "bottomview" which is the webview. I am loading the data into the webview using loadHTMLstring method. What I am trying to do is that when I zoom, it should zoom in only on the bottom portion, not the top part. This is v...

Uiwebview refreshes after zoom and pinch

Hello, I have a uiwebview in my App. So far everything works fine, but when i zoom in or out for example the uiwebview refreshes the loaded page and then scrolls and zooms to the new page location and size. So the zooming works good, but I don't want the user to see the refresh and repositioning of the website. Is there a way to preve...

Browser zoom level: detecting, adjusting with Javascript

In the 2-frame 'rows=' frameset I have, a user change of the zoom level to less than the 125% I coded for produces "dead space" between the frames. In JS, is the browser's zoom level detectable, and can it be adjusted? Or have I simply forgotten a default coding consideration of some kind? (I've seen CSS's 'zoom' style, where presumably...

How do I keep a CALayer, sublayer of a CATiledLayer, from changing it's scale after a zoom ?

I have a CATiledLayer that is used to display a PDF page (this CATiledLayer is the layer type of my UIView which is a subview of a UIScrollView). I want to add overlay markers on this page. So I add a sublayer to my CATiledLayer. This sublayer again hosts the different marker's layers and acts as a grouping layer. So graphically, I have...

Disable Auto Zoom in Input "Text" tag - Safari on iPhone

Hi, all, I made an html page that has an tag with type equals "text". When I click in it using Safari on iPhone, all the page becomes larger (auto zoom). Does anybody know how to disable it? Regards, Eduardo ...

Trying to zoom in on an arbitrary rect within a screen-aligned quad.

I've got a screen-aligned quad, and I'd like to zoom into an arbitrary rectangle within that quad, but I'm not getting my math right. I think I've got the translate worked out, just not the scaling. Basically, my code is the following: // // render once zoomed in glPushMatrix(); glTranslatef(offX, offY, 0); glScalef(?wtf?, ?wtf?, 1.0f...

Google Maps - polyline depending on map zoom?

Hi, I'm new in google maps programming, i have two encoded polylines and i want to show them depending on present map zoom. For example, first polyline is shown in first half of the zoom scale, second polyline is shown on the rest of the scale. Only one polyline at a time. What is the usual way/approach to do this? Kuba ...

How to disable the third zoom button in webview of Android ?

I want to disable the third button that creates a rectangle to zoom in other than +/- buttons in my WebView which uses builtin zoom controls. How can I do that ? I am able to do this for WebView without using built-in zoom controls by myWebview.getZoomControls().getTouchables().get(2).setVisibility(View.INVISIBLE); But how to do the ...

using ontouch to zoom in

i have used some sample code and am trying to tweak it to let me allow the user to touch the screen and zoom in the code runs fine with no errors but when i touch the screen nothing happens package com.thomas.zoom; import android.content.Context; import android.graphics.Canvas; import android.graphics.drawable.Drawable...

UIWebView is zooming when I resize it. Can I tell it to stop doing that?

I'm using a UIWebView to display formatted text. It works fine until I start resizing it. When I do it starts zooming and the font size gets too big. Is there anyway to tell it not to zoom or reset the zoom? ...

CSS Margin/Padding Issue on Browser Zoom

I am having difficulty getting my page to show up correctly at various browser zoom settings. http://andstones.ca/newsite The content is aligned if the user is zoomed out on the page, but once they zoom too far out and refresh the page, or if they are too zoomed in and the page loads, then the content pane is shifted. This does not ...

WPF Listbox is unbounded by the window

I'm working on a complex application, and I'm having an issue with a listbox not being bounded by the window height. Here's a simplified version of what it looks like. How would I get this listbox to correctly be bounded by the window? Right now, the bottom scroll button is off the screen and cannot be seen until the window is big enough...

Deep Zoom Composer performance issues

I've been using the DZC for some time and was happy with it using the deepzoom images in my web pages. I always needed to compose hundreds of images into single grids and export as a sinle image. Lately my image number claimed to over 2,000 of 1MB images and here the DZC stopped working. It takes 15 hours to export and often the proces...

iphone zoom to user location on mapkit

I'm using map kit and showing user's location using "showsUserLocation" I"m using following code to zoom to user's location, but not zooming. Its zooming to some location in Africa, though the user location on map is showing correct. MKCoordinateRegion newRegion; MKUserLocation* usrLocation = mapView.userLocation; newRegion.center.lat...

iphone PDF view CGPDFDocument

I am developing an app where I need to show PDF documents. After many hours of googling I was able to build up a view to show the PDF document fetched from a URL. I know only to display a single page. using CGPDFDocumentGetPage(ref, pageNumber). What I would like to have. Pagination function. Zoom Scrolling ...

UIScrollView - resize only some of the subviews?

Hi Forum I have a UIScrollView with a UIView in it which contains Images and Buttons. Now, I try to achieve the following: When I zoom in the scrollView, only SOME of the content in the UIView should scale (namely, the images), the buttons should remain in the same size, but should be repositioned according to the new scale... Think ...

Instruct the browser to open at a specific zoom level

I am launching the Browser on Android through the following intent: Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.example.com")); startActivity(myIntent); Is there a way that I can add something extra to this intent so that the browser will start at a specific zoom depth? ...

How to get UIImagePickerController zoom level value in iPhone OS 4

Hi. I am playing with the iPhone iOS 4 for the UIImagePickerController. BUT, I am having difficulties find out the zoom level with user touch the camera view zoom in/out. Does anybody know how to deal with this issue? ...