Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Single Outline with View Tab
Single Outline with View Tab [message #1864802] Wed, 10 April 2024 08:44 Go to next message
Ni ni is currently offline Ni niFriend
Messages: 18
Registered: January 2024
Junior Member
Hello everyone, I would like to show an icon in the outline tab. Unfortunately, this is only visible if there are multiple outlines. As soon as there is only one outline, the OutlineViewButton is no longer visible. Is there a way to show this even if there is only an outline?
Re: Single Outline with View Tab [message #1864820 is a reply to message #1864802] Thu, 11 April 2024 08:26 Go to previous message
Beat Schwarzentrub is currently offline Beat SchwarzentrubFriend
Messages: 207
Registered: November 2010
Senior Member
The ViewButtonBox is automatically hidden if there is only a single button, because it does not look good otherwise. There is no model property to change this, but you can replace the ViewButtonBox JS widget with a custom implementation (via ObjectFactory).

If you don't care about the ViewButtonBox but simply want to display an icon on the left of the outline title, you could use the iconVisible property of the Outline. Unfortunately, that property is not available in the JavaModel, so a custom 'Outline' JS implementation has to be provided (either with @ModelVariant or via object factory).
Previous Topic:Extend Desktop with fixed Form / View
Next Topic:Cannot build war file with call mvn clean verify -DskipTests -e
Goto Forum:

Current Time: Tue May 21 10:36:41 GMT 2024

Powered by FUDForum. Page generated in 0.03072 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top