Jump to content

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


Hunter

Recommended Posts

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;
}

 

Link to comment
Share on other sites

×
×
  • Create New...