Jump to content

Recommended Posts

hi, i use RTL Property and i want change close/max/minimize btn AND Collapse btn  to right without change RTL

please refer me tnx

image.thumb.png.521b684eb80407214f2f8c71e6f0db74.png

image.thumb.png.e91ff6f9b8936011e2ec3984c3b30661.png

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

image.thumb.png.c883c6536eea05485ac0776ce8f4eeab.png

 

image.thumb.png.b6b4fdc7ec5fdbac6ff398741d048782.png

Link to post
Share on other sites
1 hour ago, SayeyeZohor said:

i use RTL Property and i want change close/max/minimize btn to right without change RTL

One possible solution I think.

function window.beforeInit(sender, config)
{
    config.titlePosition=3;
    config.titleAlign='right';
}

 

Link to post
Share on other sites
1 hour ago, SayeyeZohor said:

i use RTL Property and i want change Collapse btn  to right without change RTL

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniPanel1.JSInterface.JSConfig('titlePosition', [1]);
end;

 

Link to post
Share on other sites
11 minutes ago, SayeyeZohor said:

image.thumb.png.9fa94777a8dae8accb4ab79bc5a39e54.png

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  with UniPanel1 do
  begin
    JSInterface.JSConfig('titlePosition', [1]);
    TitleAlign := taLeftJustify;
  end;
end;

 

  • Like 1
Link to post
Share on other sites
31 minutes ago, Sherzod said:

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  with UniPanel1 do
  begin
    JSInterface.JSConfig('titlePosition', [1]);
    TitleAlign := taLeftJustify;
  end;
end;

 

sorry, how change close btn position  also?

image.png

Link to post
Share on other sites
8 minutes ago, SayeyeZohor said:

sorry, how change close btn position  also?

 

59 minutes ago, Sherzod said:
2 hours ago, SayeyeZohor said:

i use RTL Property and i want change close/max/minimize btn to right without change RTL

One possible solution I think.


function window.beforeInit(sender, config)
{
    config.titlePosition=3;
    config.titleAlign='right';
}

 

Link to post
Share on other sites
  • 2 months later...

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...