55143681 Posted January 23, 2019 Share Posted January 23, 2019 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? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 24, 2019 Share Posted January 24, 2019 13 hours ago, 55143681 said: 3、How to have a bottom page button? \FMSoft\Framework\uniGUI\Demos\Touch\ToolBar - Advanced Controls Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 24, 2019 Share Posted January 24, 2019 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'}); } Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 24, 2019 Share Posted January 24, 2019 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; Quote Link to comment Share on other sites More sharing options...
55143681 Posted January 25, 2019 Author Share Posted January 25, 2019 On 1/24/2019 at 1:23 PM, Sherzod said: One possible solution MainmForm -> ClientEvents -> ExtEvents -> function titlebar.added: function titlebar.added(sender, container, index, eOpts) { this.insert(0, {xtype: 'spacer'}); } works well. Quote Link to comment Share on other sites More sharing options...
55143681 Posted January 25, 2019 Author Share Posted January 25, 2019 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); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.