Jump to content

close btn left to right


SayeyeZohor

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 comment
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 comment
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 comment
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 comment
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 comment
Share on other sites

  • 2 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...