How to disable scrolling in Intel AppFramework UI side menu - menu

The question is in the title ;).
I tried style="overflow:hidden" as for panels, but it did not work.
Thank you for any help.

Got response from Intel team.
Just add :
$.ui.scrollingDivs.menu_scroller.disable();
immediatly after :
$.ui.launch();

$.ui.scrollingDivs.menu_scroller.verticalScroll = false;
It is working without $.ui.launch();

Related

How to put space between switch button and its text in android?

I have the following element:
<Switch
android:text="Data about client?"
android:id="#+id/connected" />
But on designer the switch button and its text "Data about client?" are very glued together. I tried putting space between ? and " like that :
android:text="Data about client? "
But I don't like that type of solution very much
I had the same issue, but for me the accepted answer of Sravan Sriram did not solve the problem.
What worked for me was the tag
android:switchPadding = "10dp"
Minimum space between the switch and caption text. docs
Sure, kindly use this
android:switchPadding="5dp"
If you are using androidx.appcompat.widget.SwitchCompat then use app:switchPadding="8dp". This is work for me
Use tag "android:thumbTextPadding"

UiwebView not resizable to page

my page (google for example) isn't adjust to my web view. Why?
The Same code in TestAViewController works.
Thanks a lot
Try this code
self.webView.scalesPageToFit = YES;
self.webView.contentMode = UIViewContentModeScaleAspectFit;

core-drawer-panel vs paper-fab z-index

I've got a fairly basic core-drawer-panel setup with a core-header-panel inside another core-header-panel in the main panel of core-drawer-panel. With me so far? OK.
Now in that container I have a paper-fab, which is great except it appears on top of the drawer when it slides out. I've tried messing about with z-indexes but can't seem to affect the drawer's z-index at all.
Anyone faced a similar issue?
Thanks!
I had the same issue. Setting z-index of the drawer to big number solved it for me, without any side effects
core-header-panel[drawer] {
z-index: 9999;
}

Animating images on a xpage

I want to have a series of images slide into a section on a page. Can anyone point me to a technique of doing that?
many thanks!
clem
It sounds like you are looking for a carousel - check out these jQuery plugins
http://www.tripwiremagazine.com/2012/06/jquery-carousel.html
If you like to use Dojo that comes with XPages, check out these links:
http://davidjs.com/2011/01/fun-with-dojo-animation/
https://dojotoolkit.org/reference-guide/1.8/dojox/image/LightboxNano.html
http://ofps.oreilly.com/titles/9780596516482/animation_and_special_effects.html
http://almaer.com/blog/cleanup-of-manual-animation-via-dojo-animation
Have fun!
Check out the Dojo Effects simple actions available with 8.5.3 UP1 and extlib.
Documentation here:
http://infolib.lotus.com/resources/domino/8.5.3/doc/designer_up1/en_us/DominoDesignerXPagesExtensionLibrary.html#Simpleactions_dojoslideto

How to make a tab expend?

Here is the website I want to try out.
http://www.csun.edu/
Under myNorthRidge Portal, there is a place for me to fill out my user id and password. But the thing is that I have to click on the "sign" to expand the tab first. I could not find a way to get around this problem :( ? Anyone could share me a hint how to solve this problem? Thanks
This is the html tag for it:
<div class="CollapsiblePanelTab">Log In</div>
Thanks everyone, I got it solved ;) by using element_by_xpath( "..." )
ie.element_by_xpath( "/html/body/div/div[5]/div/div" ).click
This worked for me:
browser.div(:text => "Log In").click

Resources