Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sense - Prevent 'full screen' toggle in custom extension

Hi,

a standard feature of extensions is their ability to go 'full screen' when the user clicks on this icon:

gofullscreen.png

is there any way to prevent this icon being shown/going fullscreen in a custom extension?

Thanks.

16 Replies
Not applicable
Author

Again, there is nothing specificity built into sencha that allows me to just target one widget's zoom button using css selectors. Also there is not a parent css selector that exists realistically today, so you mean have a look at Child/Sibling css selectors.

THE PROBLEM is any class you make inside sencha is INSIDE what needs to be selected, namely the zoom button.

See the image below that illustrates this point. As you can see the class i add at the TOP level of the widget is still INSIDE the wrapper that contains the zoom button. Thus there is no way to uniquely identify that zoom button.

scopeExample.jpg

karthiksrqv
Partner - Creator II
Partner - Creator II

This seems to work for me.

.qv-object-com-qliktech-horizlist .qv-object-nav > a {

display:none

}

I put this in the CSS of my extension.

simondachstr
Luminary Alumni
Luminary Alumni

that's an interesting point and admittedly I have not had a look at it this case before. How does the <a> set look like when you expand it?

Not applicable
Author

It looks pretty much like all other extensions with the full screen buttons.

simondachstr
Luminary Alumni
Luminary Alumni

I mean the when the <a> code in your screenshot is expanded.

<a ng-repeat="menuItem ...

kavita25
Partner - Specialist
Partner - Specialist

Can we do this for QlikSense Objects ?

ken4runner
Creator
Creator

none of these options worked for me. Has anyone tried this in a recent version of Qlik Sense?