Skip to content

Make CTabFolder more customizable #2831

@ThoKalBaGoIT

Description

@ThoKalBaGoIT

I want to customize the CTabFolder in my application to have a ToolBar with buttons for minimize, restore, and maximize, which should always be visible:
Image

I managed to achieve this using setTopRight, but I had to copy a lot of code from CTabFolder and CTabFolderRenderer. It would be nice if more methods were accessible. Maybe the current minMaxTb toolbar implementation could be extracted for better customization?

Here’s an example of what I had to do to achieve my goal:
MyCTabFolderSnippet.java
MyCTabFolderWrapper.java
MyCTabFolderMinRestoreMaxRenderer.java
MyCTabFolderMinRestoreMaxListener.java

If there are any other options, please let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions