Dynamic horizontal position of an object

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
christiaan
 
 
Posts: 51
Joined: Mon Sep 05, 2016 6:56 pm

Dynamic horizontal position of an object

Post by christiaan »

I want to position an edit box right after a text BUT the text's content is given by an user defined variable ($my_content$).

So the horizontal position of the edit box depends on the content of the user defined variable.

How can the edit box by positioned right after the text box ?

Image

As far as I know objects positioning in WB is always absolut, not relative.

Any suggestions ?
User avatar
BaconFries
 
 
Posts: 5365
Joined: Thu Aug 16, 2007 7:32 pm

Re: Dynamic horizontal position of an object

Post by BaconFries »

I am confused looking at the image you are showing a Editbox and a Combobox is this what you are meaning?
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: Dynamic horizontal position of an object

Post by WWBman »

If $my_content$ is in an Editbox could you use Alignment - Right?
christiaan
 
 
Posts: 51
Joined: Mon Sep 05, 2016 6:56 pm

Re: Dynamic horizontal position of an object

Post by christiaan »

Wow WWBman, very clever idea :D but the text needs to be aligned left :(

This is the source
Image

This is the result
Image

And this is what it should look like
Image

Hmm, seems to be a very tricky challenge
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: Dynamic horizontal position of an object

Post by WWBman »

What object type contains $my_content$?
christiaan
 
 
Posts: 51
Joined: Mon Sep 05, 2016 6:56 pm

Re: Dynamic horizontal position of an object

Post by christiaan »

$my_content$ is text and contains only text
Post Reply