New topic: 

Web Controls Shifting when Run

<http://forums.realsoftware.com/viewtopic.php?t=47569>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        rjohnsonvtp          Post subject: Web Controls Shifting when 
RunPosted: Thu Apr 11, 2013 9:00 pm                         
Joined: Tue Nov 18, 2008 9:19 pm
Posts: 23                I'm trying to create some simple web pages where I 
have labels and text entry fields. When you lay out the fields on the canvas 
lined up horizontally, with the properties of the objects as lock top, lock 
left, when you run the app, the browsers (I see it in Chrome, Firefox, IE) the 
labels are shifted way off. 

For that matter, it seems like that even the label objects also need their 
bound box made very large not to cause wrapping when displayed in a browser. I 
figure I must be missing some property because it can't be this bad.

The only thing I can see as an issue, is that I have set a default style for 
the entire canvas. This is because I'm trying to set the overall look of the 
site. Is there some correlation to the shifting label positions? Should I be 
using some other object to bound the edit controls within the web page layout?

Thanks in advance!   
                             Top                swort          Post subject: 
Re: Web Controls Shifting when RunPosted: Fri Apr 12, 2013 1:28 am              
           
Joined: Mon May 31, 2010 5:35 am
Posts: 2404
Location: Netherlands                when using lockhorizontal, the lockleft 
and lockright are not used
when using lockvertical, the lock top and lockleft are not used

from the docs:
Quote:LockHorizontal overrides LockLeft and LockRight. It allows the developer 
to proportionally lock a control's position to the center of its parent control 
(or web page).

Quote:LockVertical overrides LockTop and LockBottom. It allows the developer to 
proportionally lock a control's position to keep it centered within the parent 
control or web page.      
_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source 
plugins)
For Dutch User Groups ask me to enter!  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to