Home » Developing U++ » U++ Developers corner » Trouble with SizePos...
Trouble with SizePos... [message #34517] |
Sat, 26 November 2011 17:13 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
One of expected features of U++ web framework (I guess, we need a name for it, W++ is stupid, but will do for now) is possibility to design forms in Layout designer.
There, I can do LeftPos / RightPos (and Top,Bottom) equivalents easily:
<input type="text" style="width:40em;position:absolute;left:20em;top:20em" name="firstname" />
<input type="text" style="width:40em;position:absolute;right:20em;top:20em" name="firstname" />
but it is not possible to do SizePos this way (it can be either left or right, not both).
I have tried doing this with margins, but problem there is that in that case, html layout engine does not allow me to "overlap" widgets (so I cannot e.g. place label in the margin area).
Do I have to do this in JavaScript (and how?), or there is some other possiblity?
Note that the result should be compatible with U++ layouts...
Mirek
|
|
|
Goto Forum:
Current Time: Sat May 04 17:26:21 CEST 2024
Total time taken to generate the page: 0.02880 seconds
|