Jump to content

something about mobile(Unim....)


55143681

Recommended Posts

I have test your mobile demo,I have something to ask for help

1、In your app, the title button and navigator is in the left side,but in china,we all like use right hand ,how to set them to the right side

 

2、 UnimMenu has  "side" property,but uniTreeMenu do not has that,how to auto hide the unitreemenu?

       and UniTreeMenu don't have scroll property,when there are too many items ,how to slide to the tail item?

3、How to have a bottom page button?

2019-01-23_230704.png.4f2d4caa4933b22c968149e17b2a8428.png

Link to comment
Share on other sites

14 hours ago, 55143681 said:

1、In your app, the title button and navigator is in the left side,but in china,we all like use right hand ,how to set them to the right side

One possible solution

MainmForm -> ClientEvents -> ExtEvents -> function titlebar.added:

function titlebar.added(sender, container, index, eOpts)
{
    this.insert(0, {xtype: 'spacer'});
}

 

Link to comment
Share on other sites

14 hours ago, 55143681 said:

2、 UnimMenu has  "side" property,but uniTreeMenu do not has that,how to auto hide the unitreemenu?

Yes it's by design...

15 hours ago, 55143681 said:

2、 and UniTreeMenu don't have scroll property,when there are too many items ,how to slide to the tail item?

Try this config:

procedure TMainmForm.UnimFormCreate(Sender: TObject);
begin
  UnimTreeMenu1.JSInterface.JSConfig('scrollable', [True]);
end;

 

Link to comment
Share on other sites

On 1/24/2019 at 2:19 PM, Sherzod said:

Yes it's by design...

Try this config:


procedure TMainmForm.UnimFormCreate(Sender: TObject);
begin
  UnimTreeMenu1.JSInterface.JSConfig('scrollable', [True]);
end;

 

How change that to c++builder?

UnimTreeMenu1->JSInterface->JSConfig("scrollable", true); 

that give me an error,

UnimTreeMenu1->JSInterface->JSConfig(???????, true);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...