I'm trying to use HTML content in WebView control. This HTML content has CSS3 columns.
My goal is to make WebView scroll only horizontally and make use of columns.
But even if I set fixed height (fill_parent) I am able to scroll vertically.
I've tried to disable scrollbars, use setLoadWithOverviewMode but with no effect.
So, the question is - how to make WebView scroll only horizonally, so it displays HTML content in columns? (I saw similar effect in Windows 8 apps).
Related
I am using Bigcommerce and their them Corner Stone.
How do I increase the size of the "SEARCH" text font?
I attached a screen shot image with a blue circle showing where the "search" text is.
Screen Shot
Thank you
Depending on your theme, you may be able to make this change by navigating to Storefront > My Theme in your back office.
However, it's likely that the font size for that one component is the same for the rest of them; in that case, you may have to make manual changes to the CSS stylesheets by editing your theme files.
Is there any way to make a widget's config and move buttons be placed at the top of the widget itself.
As it is one has to hover over a widget in order to see which one of the items in the widget zone it belongs to. This is impossible though when the content of the widget is not in the same screen space (I had to zoom out in the browser in order to get the below screenshot) unless you zoom out and then zoom back in.
In this image, there are 3 seperate widgets (red, white and green respectively) in a single widget zone.
Also, when the mouse leaves the widget the widget config/move buttons are no longer visible.
One solution is to right-click on the widget and then scroll up to the config wheel but this is not something I want to tell my editors they have to do.
Has anyone else come across this problem and if so, how did they solve it?
This can happen when you have CSS conflicts. You can use Chrome Inspector, Firebug, or IE developer tool to investigate and see if anthing is 'overlapping' those buttons (often a floating div is overlapping the buttons and intercepting the 'click')
Then once you figure out a css class to make it work, just add it to your style sheet with ".EditMode " before it, this is a special class that is on the body when in page editor.
Example:
.EditMode .MyFloatingDivThatsCoveringTheWidgets {
z-index: 0;
}
I've added a PNG animation (acting like a animated GIF) to an iBook HTML widget using CSS, JavaScript and HTML.
The problem is that there is a maximize button when hovering over the widget in the iBook preview. I want to remove this because it is only supposed to be an animation that plays when entering the page, and I don't want the user to be able to interact with it.
How can I remove this functionality from the widget?
Setting the widget width and height in your info.plist file the same as the width and height in iBooks author prevents opening in full screen when tapping on it.
I don't know if this logic works on Mac or iPhone, but it seems to work on the iPad.
I have 2 monitors (they are different sizes). I'm trying to view and edit the code (HTML, css, JavaScript) in one screen, and have the live/preview window at the second screen. There doesn't seem to be an easy way to do this. Do you have any suggestions?
What I've tried:
Extending Dreamweaver's window then use split. It doesn't really work
because the screens heights aren't the same size so in one screen
Dreamweaver will be shorter
Opening Window > Code Inspector. That doesn't work because you can
only edit the HTML file, not the css or JavaScript file.
I have a dojo text area which I'm binding it to a field. I saw that on browser, its height is OK but if I open the xpage in the Notes client its height is twice bigger. I tried adding height property for the text area, but it doesn't work.
Thanks in advance!
Browsers Firefox and XPiNC (XPages in Notes Client - that is XULrunner based on Firefox) show Dojo Text Area (dijit.form.Textarea) always with at least two rows even it contains only one line of text.
Other browsers like Chrome and IE work like expected.
You don't have a chance to change that behavior with style "height"/"minHeight" or parameter "rows".
The only solution I found is to create an own Textarea widget. But I am not sure if it's worth it...
This issue shows up only for contents with one line. As soon as you have two or more text lines Dojo Text Area's height adapts exactly - for all browsers.
Try setting the height using css styles, that should do it.
Update:
In case css should not be working here try using the classic HTML attributes 'cols' and 'rows'. I don't have Domino Designer ata hand right now, so I can't tell whether those attributes are available. If not you could add them yourself using the 'attrs' group.