Jump to content

UniPanel -> Collapsed = True


picyka

Recommended Posts

6 minutes ago, Sherzod said:
procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniPanel1.JSInterface.JSConfig('titleCollapse', [True]);
end;

 

faster than an arrow, it really works, now to get a 10, it would be nice if the mouse pointer stayed the same on the icon, then it would be beautiful...

Link to comment
Share on other sites

5 minutos atrás, picyka disse:

mais rápido do que uma seta, ele realmente funciona, agora para obter um 10, seria bom se o ponteiro do mouse permanecesse o mesmo no ícone, então seria lindo...

I changed the cursor directly in the panel, that's fine. thank you sooo much

Link to comment
Share on other sites

5 minutes ago, picyka said:

faster than an arrow, it really works, now to get a 10, it would be nice if the mouse pointer stayed the same on the icon, then it would be beautiful...

1. CustomCSS:

.customHeaderOverCls {
    cursor: pointer;
}

2.

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniPanel1.JSInterface.JSConfig('titleCollapse', [True]);
  UniPanel1.JSInterface.JSConfigObject('header', 'overCls', ['customHeaderOverCls']);
end;

 

Link to comment
Share on other sites

3 minutos atrás, Sherzod disse:

1. Customcss:

.customHeaderOverCls {
    cursor: pointer;
}

2.

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniPanel1.JSInterface.JSConfig('titleCollapse', [True]);
  UniPanel1.JSInterface.JSConfigObject('header', 'overCls', ['customHeaderOverCls']);
end;

 

I just wanted to know 10% of what you know unigui hahahahaha got top Big hug

Link to comment
Share on other sites

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