Jump to content

TuniMenuButton icon size


rafpic62

Recommended Posts

I have a TUniMenuButton on my toolbar with an image as icon get from a TUniImageList with the imageindex property. The images of the ImageList have size 24x24 but when rendering the image on the button seems that it always uses a 16x16 size.

How can I tell the button that the image is 24x24 size ?

Link to comment
Share on other sites

11 minutes ago, rafpic62 said:

How can I tell the button that the image is 24x24 size ?

Hello,

One possible solution...

1. CustomCss:

.customToolBar .x-btn-icon-el {
    height: 24px !important;
    width: 24px !important;
}

2. UniToolBar.LayoutConfig.Cls = customToolBar

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