Jump to content

For the tunimtreemenu component, setting align: = alclient does not work.


Recommended Posts

Posted
6 hours ago, Hunter said:

For the tunimtreemenu component, setting align: = alclient does not work. It is always left aligned.

Hello,

You can try this approach:

1. 

procedure TMainForm.UnimFormCreate(Sender: TObject);
begin
  UnimTreeMenu1.JSInterface.JSConfig('cls', ['customTree']);
end;

2. CustomCSS

.x-treelist.customTree {
    width: auto !important;
}

 

×
×
  • Create New...