Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Zooming layout in Windows
Zooming layout in Windows [message #35999] Tue, 17 April 2012 19:49 Go to previous message
jerson is currently offline  jerson
Messages: 202
Registered: June 2010
Location: Bombay, India
Experienced Member

I've looked at all the examples and posts I could possibly study. However, I cannot find out how to fix this. Either the widgets overlap when the layout is zoomed (Hsize,Vsize springs), or they zoom mainly in one direction (Auto springs button).

I would like to (if possible) control the zooming of each widget depending on the size of the Topwindow that holds the widget. So, my strategy is to get the ratio of the size of the zoomed topwindow to its design size and apply the zoom to each child widget to adjust its X and Y pos and also its X and Y size.

What am I doing wrong? Is there some example that shows how to do this?

Pic1 and Pic2 are showing the design size layout and zoomed layout
Pic3 and pic4 are showing the same layout when I apply autosprings

index.php?t=getfile&id=3736&private=0
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: UDP connection
Next Topic: How to get pixels per millimeter for current screen?
Goto Forum:
  


Current Time: Mon Apr 29 03:35:14 CEST 2024

Total time taken to generate the page: 0.02638 seconds