facebook

Property Top of the elements

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #339801 Reply

    Schlumpf1974
    Member

    Hi,
    I have some problems with the “top” property of the elements.

    I use Mobione 2.3.2 and on a new form I add a label with the coordinates x=0, y=0 – alignment top-left. The dom inspector shows it correct. Left=0 – Top=0.

    Then I add a button with x=0, y=0, alignment top-left. The dom inspector shows Left=0, Top=-19.

    That is not what I am expected. How can I change to a mode with drop each element to an absolut position (alignment left,top:x=0;y=0 => top=0;left=0) depending on its hosted container?

    Thanks in advance!
    Schlumpf

    #339843

    Hi

    After talking with the dev team, I learned that codegen always set position:relative to all elements it generates. That’s why you see top=-19 for second element (because first one is 19px tall and their positions are equal). For now we do not support position:absolute in codegen.

    #339848

    Schlumpf1974
    Member

    Hi,

    From our development I learned:
    Elements can be grouped together (these elements are only relative to each other in that group) or probably haven’t got any dependencies to any other element (fixed in an absolute position).

    When I like to place an element to a position x=30 y=30 – it had to be at this absolute position in its hosted container!

    Hmtl5/css supports this simple functionality – why your dev team not?

    In combination with the missing possibility to add a start script (onload()) in your Mobi One Designer Center (an other simple funtionality!) I can not recommend your software to any user. I advise everyone to buy your patchy software!

    Greetings,
    Schlumpf1974

    #339849

    support-michael
    Keymaster

    >In combination with the missing possibility to add a start script (onload()) in your Mobi One Designer Center (an other simple funtionality!)

    For your “onload” requirement similar to some other mobile web frameworks we recommend that you add your init code to the stubbed out function document_ready() in the generated <project>_custom.js file. There is an implicit onload() function that calls through to the document_ready() function.

    Can you share other missing simple functionality are you referring to? Perhaps there is a solution already that you are not aware of. Please share…

    #339874

    Schlumpf1974
    Member

    Hi,

    I am missing the following items:

    – “Margin”/”Padding” properties in each element of the MobiOne Designer
    – “Enable” property in each element of the Designer
    – “Background Picture” property in each element of the Designer
    – an editable combobox with popup fields to store JavaScripts for a “textchanged” and a “selecteditemchanged” event
    – a table element for defining columns and rows
    – border thickness property in each element of the Designer

    There is no possibility to insert a start script in the MobiOne Designer? – I had to insert it in the test area and every time I start the test area, the link to the start script will be overwritten?

    Why not adding a popup field to the properties and the context field of the root element?

    Greetings,
    Schlumpf1974

    #340010

    Schlumpf1974
    Member

    Hi,

    I summarize: no upcoming simple features.

    A glamorous application without substantial functions.

    My option about Mobione: inadvisable!

    Schlumpf1974

    #340016

    paulD
    Member

    Mobione is not Dreamweaver. If you want web tools like that then use Dreamweaver.

    Tables and rows…. have we suddenly gone back to 1998 or something, thats old browser tech. I’m not going to say mobiones system is perfect, I’m the first to voice my gripes with the autolayout system, but with a bit of work and practice you can produce some pretty neat apps. Like any form of developing you get out what you put in. One of the big wins in my mind is the expandability using external javascript plug ins.

    for me a windows based mobile development suite for $99 i’ll go with that thank you very much.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Property Top of the elements

You must be logged in to post in the forum log in