Skip to content
Discussion options

You must be logged in to vote

If you don't put IconRibbonBandResizePolicy in the list of policies passed to AbstractRibbonBand.setResizePolicies, that band won't get collapsed. Sounds like you should be able to achieve what you want with:

List<RibbonBandResizePolicy> resizePolicies = new ArrayList<>();
resizePolicies.add(new CoreRibbonResizePolicies.Mirror(myBand));
myBand.setResizePolicies(resizePolicies);

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@MichaelWDenney
Comment options

@MichaelWDenney
Comment options

@MichaelWDenney
Comment options

@kirill-grouchnikov
Comment options

Answer selected by MichaelWDenney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants