Horizontal Layouts
This refers to iPad app design.
I would like to see my page layout in a horizontal format when designing pages that will be read with a horizontal swipe motion.
I understand this can be achieved with 'Horizontal Swipe Only' pref in the properties menu within Folio Builder. However is there a way to set this up when laying out pages so you can actually see design elements flow through from page to page, just as you do in the vertical orientation of the page layout?
This would look similar to a page layout with facing pages but would have all the pages horizontal so you have an idea of how your design elements match up or flow through the pages.
Thanks.
Have you updated to v21 yet? We had a bug with alternate layouts in CS6 and PDFs that was fixed in v21. Note that v21 of the Content Viewer still isn't released in iTunes, but hopefully soon.
Neil
Similar Messages
-
UIX: horizontal layout for messageRadioGroup
Hello,
We use UIX 2.1.7.
In our application we have a few UIX xml pages that create a (dynamic) list of screen items based on database
content. These screen items can be text items, date items, choise fields, checkboxes or radio groups, depending on what got queried from the database. In the UIX xml, we have implemented this by a table iterating over a DataObjectList with fields, and a switcher bean to render the corresponding UI widget for each field in the list.
This all works very well, there is only one layout shortcoming we can't seem to fix. When rendering a field as a radio group, we use the messageRadioGroup tag, and use the childdata attribute to create the individial radio buttons. Unfortunately, these buttons are stacked vertically, while we would really like to have them horizontally because of the huge amount of screen space this would save (we sometimes have dozens of radio groups, all with 4 radio buttons. There does not seem to be a way to do that using the messageRadioGroup.
I am aware of the possibility using the radioButton tag, but due to some issues with our (already very complex, conditional and nested) databinding and the code responsible for handling the screen when the user presses 'save', we REALLY prefer having just a single UI widget in the UIX page for a radio group, just as for all the other widget types as described above.
Is there anything we overlooked in the messageRadioGroup tag, and if not will it be possible to include this functionality in a future release?
Thanks!Peter -
We would much prefer to avoid introducing new layout behaviors into the radioGroup - and encourage clients that require different types of layouts to use the radioButton component. In your case, it sounds like you might benefit from putting your "horizontal" radioGroup layout into a UIX template, so that it can be easily accessed from your uiXML pages. For example, here is a sample template which implements a horizontal layout for radio buttons:
<?xml version="1.0" encoding="UTF-8"?>
<templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui"
targetNamespace="http://www.example.org/demo/templates"
localName="horizontalMessageRadioGroup">
<!-- define the template's type information -->
<type base="ui:inlineMessage">
<attribute name="childData" javaType="oracle.cabo.ui.data.DataObjectList"/>
</type>
<!-- define the content of the page -->
<content>
<inlineMessage data:prompt="prompt@ui:rootAttr">
<contents>
<flowLayout>
<contents data:childData="childData@ui:rootAttr">
<radioButton data:name="name@ui:rootAttr"
data:text="txt"
data:selected="selected"
data:value="val"/>
</contents>
</flowLayout>
</contents>
</inlineMessage>
</content>
</templateDefinition>
And here is a sample UIX page which uses both a standard messageRadioGroup as well as a horizontalMessageRadioGroup to render the same set of inline data:
<?xml version="1.0" encoding="UTF-8"?>
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:demoTmps="http://www.example.org/demo/templates">
<templates xmlns="http://xmlns.oracle.com/uix/ui">
<templateImport source="horizontalMessageRadioGroup.uit"/>
</templates>
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui">
<provider>
<data name="RGData">
<inline>
<btn txt="Longer name" val="Val0"/>
<btn txt="Name2" val="Val1" selected="true"/>
<btn txt="Name3" val="Val2"/>
</inline>
</data>
</provider>
<contents>
<labeledFieldLayout>
<contents>
<!-- First, a vertical group of radio buttons -->
<messageRadioGroup name="group1"
data:text="txt"
data:value="val"
selectedValue="Val2"
type="radio"
prompt="Verical Group"
data:childData="btn@RGData"/>
<!-- Now, a horizontal group -->
<demoTmps:horizontalMessageRadioGroup name="group2"
prompt="Horizontal Group"
data:childData="btn@RGData"/>
</contents>
</labeledFieldLayout>
</contents>
</dataScope>
</content>
</page>
Please give this solution a try and let us know the results.
Andy -
Horizontal layout for images or video
Hi, Sir
May Check with you how coldfusion can layout for images or
video in horizontal way? the default is vertical when we use
cfoutput. what founction and tag support, or we had to design a
horizontal looper for the purpose?
The example web page horizontal layout is the youtube.com,
like URL:
http://youtube.com/browse?s=mp,
All the video were layout in horizontal.
Thanks and Regards
DavidSee
this
link
Ken -
How to switch display of label for SelectOneRadio in horizontal layout
Using selectOneRadio with the horizontal layout and it displays the label and then the radio buttons to the right of the label.
LABEL RADIO1 RADIO2 RADIO 3
Is there a way to display the radio buttons to the LEFT of the label instead?
RADIO1 RADIO2 RADIO3 LABEL
Another question .... instead of radio buttons, we'd like to use check boxes instead, with the same functionality as the selectOneRadio ... just checkboxes instead of radio buttons.
Can't find anything like selectOneCheckbox though, just a SelectBooleanCheckbox or SelectManyCheckbox, which won't work.
Thanks for any help.Hi,
you can use combination of selectOneRadio and outputLabel so in selectOneRadio leave label blank and put this text in outputLabel component, which you store to the right of selectOneRadio
<af:panelGroupLayout id="pgl1" layout="horizontal">
<af:selectOneRadio id="sor1" layout="horizontal">
<af:selectItem label="label1" value="1" id="si1"/>
<af:selectItem label="label2" value="2" id="si2"/>
</af:selectOneRadio>
<af:outputLabel value="outputLabel1" id="ol1"/>
</af:panelGroupLayout>regards,
Branislav -
N8: no horizontal layout for calls?
I have a horizontal mounting for my N8 in the car. I like OVI maps much more in horizontal layout. But incoming calls seems to be displayed always in vertikal layout !?
Same for the dialing field if you click on "Make call" on the main window. There seems to be no horizonzal version.
Greetings,
HaPe
N8-00 with orange case, loving it
If my post was helpfull, click on the white star and give me an KuDo ;-)Yes it is very hard to turn it around if it is mounted in a car kit in landscape view to be able to use OVI maps in landscape, which is great and much more better in landscape.
And it is a big lack that it is not possible to see the caller number and picture in a correct way.
And it is quite impossible to dial a number because the digit buttons are arranged in portrait mode.
(Nokia N8 is used with bluetooth car kit)
N8-00 with orange case, loving it
If my post was helpfull, click on the white star and give me an KuDo ;-) -
Hi All,
Need some advice if possible? We have been give the task to covert a printed magazine into a digital iPad format. The client has sent us only the PDF's that are sent to the printers! we have cut and added them into a Vertical layout but we need to add them to a Horizontal layout - which we have done - problem is we are seeing double the horizontal spreads...
We are new to DPS and folio builder and can’t seem to figure this out.
This is how we see it - that is if its possible at all?
Page 1_v (veritcal)
Page 1 & 2 (stitched together) for _h (horizontal) mode
So when they turn the iPad they can see it in landscape view... simple!
Problem is we have when we come to “Page 2_v” we need to have “Page 1 & 2_h” again? so when the user reads it in Horizontal mode it will show “Page 1 & 2 twice” we cant have a blank missing page as the folio will say error.
Hope that make sense...This is the workflow... but this is at the end off all the Horizontal pages and we still need to add verticals only after this..
1) Set up duel layout v and h
2) design... (this is the last horizontal page) we still have to add vertical pages only)
3) Add in articles both V and H (as last H page)
4) now we need to add only the vertical pages going forward..
We add the name in - turn off landscape layout as we have done all the H ones and wehen uploaded we get the below error... -
Bug in Studio 10.3 - Automatic Handler disappears in horizontal layout
In process model, clicking on "Layout" button causes "Automatic Handler" swimlane to disappear.
I've observed this only when using horizontal layout.
1. Create process
2. add automatic activity to automaic handler swimlane
3. add new swimlane "clerk"
4. Create global ctearion into swimlane clerk
5. Click "Layout" button
6. Done: all stuff is now in swimlane clerk, which is the only swimlane left.
Looks like a bug to me.KelVarnson wrote:
Darryl.Burke wrote:
Nothing wrong, unless the OP has a custom class named GridBagLayout in the same package, one that either isn't a LayoutManager or doesn't have a default constructor.My guess as well.
Note that I don't expect that to be the case, it's just a possibility that comes to mind.I think this very likely IS the case, since the error goes on to say:
2 quick fixes available:
- Cast argument 1 to 'LayoutManager'
- Let 'GridBagLayout' implement 'LayoutManager'
his screenshot shows a "GridBagLayout.java" open in Eclipse, so he probably has created one in his project indeed.
Kel, either rename that class you created or (worse option) explicitly import the correct one from java.awt.<whatever>. -
Is it possible to create a menu structure within iWeb with a so called tree layout? iWeb only provides automatically a horizontal layout
Not in iWeb itself.
You have to create these menus yourself. Start here :
A List Apart: Articles: Suckerfish Dropdowns
Also, see podcast episode 9 of
CSS Tricks and Tips
and then add them to a webpage with the HTML Snippet.
Or add the menu to the webpage with a JavaScript.
Here's a sample page :
http://www.wyodor.net/mfi/roodhout/
http://www.wyodor.net/mfi/spelling/
http://www.wyodor.net/mfi/Maaskant/Some_Menus.html
The how-to-do page are here and here.
More sample pages on my Made for iPad with iWeb pages.
http://www.wyodor.net/mfi/
You may have to learn HTML, CSS, JavaScript, AJAX, DOM and how iWeb creates its pages. -
Hi everybody,
I have a problem with a pdf creation. Everything is working fine, I am creating a pdf coming from the spool and I am attaching it to an email. The problem I have is that the information is too large and I would like to show everything, so my idea was to change the layout into horizontal, but I can not see any parameter or whatever to do it. I am using this function 'CONVERT_ABAPSPOOLJOB_2_PDF'.
Does anyone know how to solve it?
Thanks in advanceGet a format created by your Basis team with the required number of columns and assign this printer as default to your spool.
Thanks & Regards,
Bhupal -
Horizontal Layout scrolling vertically
Has anyone worked with the HorizontalLayout for a List?
When you touch scroll, it lets you scroll up and down. Whereas the vertical layout won't scroll horizontally.
Can anyone else confirm this?You'll need to set verticalScrollPolicy="auto" and horizontalScrollPolicy="on" styles on your List.
-
Add Horizontal Layout in Business Functions
Hi,
I would like to customize the Business Function layout.
The goal is to get something like that:
I'm trying to achieve this by changing the display preferences for Business Function -> Advances -> Customize Content, but for some reason it's not working.
We are running on 16.5 SP03 PL02
This is what I typed in:
I would expect, After the Activity ID, I get a horizontal tab with Frequency and Role associated. But it's not the case ... What I get instead is this:
Question: Am I doing something wrong, or does this function not work for Business Functions in SP03 PL02?
Same applies to Comments for Tasks in Business Process Diagrams ... even though, the Comments are set to be displayed ... they don't appear.
Any ideas?
Thanks & Regards,
RafaelHi George,
no, saying 'task', I meant an BPMN Activity -> Task/User Task/....
I can force PD to display the comments, but only if I change the current process language to -> Analysis, then a 'Task' converts into a 'Process' and the comments do appear:
So the question is: is it a bug or is it a 'feature' of BPMN? Or maybe a process in Analysis is not the same as a Task in BPMN ... and I can't set any properties for Tasks in PD... but then ... why does it convert? Task into Process and vice versa?
Once I change the current process language back to -> BPMN 2.0, they dissapear from the diagram. -
Chart legend too wide when using horizontal layout
I am using a flex chart with about 15 series on it. I've set
the legend direction variable to "horizontal". However since the
panel width which contains the chart is fixed, the legend sprawls
out to the right instead of going "wrapping around" nicely to stay
within the panel. As a result, you can't read the whole legend when
looking at the chart. The chart itself stays the proper width, but
the legend is too wide and can only be seen via using the scrollbar
to move horizontally. How can that be fixed?Solerous, you must create a custom legend. Here's an example
that uses a grid to lay out the individual grid items. If you have
a variable number of series, then you can probably come up with
better logic for laying out the legend, but this should help get
you going.
hth,
matt horn
flex docs
<?xml version="1.0"?>
<!-- charts/CustomLegendInActionScript.mxml -->
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
backgroundColor="white" creationComplete="init()">
<mx:Script><![CDATA[
import mx.containers.GridItem;
import mx.containers.GridRow;
import mx.graphics.SolidColor;
import mx.graphics.IFill;
import mx.charts.LegendItem;
import mx.charts.Legend;
import mx.collections.ArrayCollection;
[Bindable]
public var expenses:ArrayCollection = new ArrayCollection([
{Expense:"Taxes", April:2000, May:321, June:131, July:1100,
August:200, September:1400, October:42},
{Expense:"Rent", April:1000, May:95, June:313, July:600,
August:400, September:200, October:52},
{Expense:"Taxes", April:2000, May:321, June:131, July:90,
August:500, September:900, October:300},
{Expense:"Bills", April:100, May:478, June:841, July:400,
August:600, September:1100, October:150}
private function init():void {
for (var i:int = 0; i < myChart.series.length; i++) {
var li:LegendItem = new LegendItem();
li.label = myChart.series
.displayName;
var sc:SolidColor = myChart.series.getStyle("fill");
li.setStyle("fill", sc);
var gi:GridItem = new GridItem();
if (i < 3) {
// First row
gi.addChild(li);
gr1.addChild(gi);
} else if (i >= 3 && i < 6) {
// Second row
gi.addChild(li);
gr2.addChild(gi);
} else if (i >= 6) {
// Third row
gi.addChild(li);
gr3.addChild(gi);
]]></mx:Script>
<mx:Panel title="Bar Chart with Legend" width="500"
height="600">
<mx:BarChart id="myChart" dataProvider="{expenses}"
height="400" showDataTips="true">
<mx:verticalAxis>
<mx:CategoryAxis
dataProvider="{expenses}"
categoryField="Expense"
/>
</mx:verticalAxis>
<mx:series>
<mx:BarSeries xField="April" displayName="April (in
$USD)"/>
<mx:BarSeries
xField="May"
displayName="May (in $USD)"
/>
<mx:BarSeries
xField="June"
displayName="June (in $USD)"
/>
<mx:BarSeries
xField="July"
displayName="July (in $USD)"
/>
<mx:BarSeries
xField="August"
displayName="August (in $USD)"
/>
<mx:BarSeries
xField="September"
displayName="September (in $USD)"
/>
<mx:BarSeries
xField="October"
displayName="October (in $USD)"
/>
</mx:series>
</mx:BarChart>
<mx:Grid id="myGrid">
<mx:GridRow id="gr1">
</mx:GridRow>
<mx:GridRow id="gr2">
</mx:GridRow>
<mx:GridRow id="gr3">
</mx:GridRow>
</mx:Grid>
</mx:Panel>
</mx:Application> -
Master List Horizontal Layout Woes
I'm combining a jQuery horizontal scroller with Spry
datasets. How's that for an invitation for trouble? My Master List
items are literally stacked ontop of one another, and I cannot for
the life of me figure out how to distribute them horizontally using
normal CSS techniques of floating left.
In this example, you'll see how I want the bottom navigation
to behave:
http://libertyclothing.com/2008/
In this example, I've added in the Spry elements. The
thumbnails at the bottom is the Master data from my external HTML
data source. The Detail displays above.
http://libertyclothing.com/2008/index_spry.htm
I think my brain is going to explode. Anyone have an idea of
how to get these divs distributed horizontally and still have the
jQuery carousel work?
Alternatively, can someone suggest how to do this using Spry
only?I appreciate your help here. Seems like I'm inches away, but
those last inches have been destroying my brain.
So here's what I've done:
var ds1 = new Spry.Data.HTMLDataSet("data/unisex.html",
"unisexProducts", {distinctOnLoad: true, sortOnLoad:
"Product_Number", sortOrderOnLoad: "ascending"});
var observer = { onPostUpdate: function(notifier, data) {
// This is the invocation code for stepcarousel.js
stepcarousel.setup({
galleryid: 'mygallery', //id of carousel DIV
beltclass: 'belt', //class of inner "belt" DIV containing
all the panel DIVs
panelclass: 'panel', //class of panel DIVs each holding
content
autostep: {enable:false, moveby:1, pause:3000},
panelbehavior: {speed:500, wraparound:false, persist:true},
defaultbuttons: {enable: true, moveby: 5, leftnav:
['images/left.png', -5, 60], rightnav: ['images/right.png', -10,
60]},
statusvars: ['statusA', 'statusB', 'statusC'], //register 3
variables that contain current panel (start), current panel (last),
and total panels
contenttype: ['inline'] //content setting ['inline'] or
['external', 'path_to_external_file']
// Ends stepcarousel.js invocation code
Spry.Data.Region.addObserver("
carousel", observer);
// to reference the div containing the Spry Region
In the body (nothing really different here):
<!-- SPRY AREA -->
<div id="mygallery" class="stepcarousel" style="top:20px;
left:130px;">
<div
id="carousel" spry:region="ds1" class="belt">
// Added this id to target this div in the observer
<div spry:repeat="ds1" spry:setrow="ds1" class="panel"
style="float:left; padding:1;">
{Image}<br />{Product_Number} {Product_Name}
</div>
</div>
</div>
<!-- END SPRY AREA -->
The resultant page briefly loads, then goes blank - seemingly
caught in a loop or something.
What I want to happen here is for Spry to first populate the
master list, and only THEN for the stepcarousel.js script to apply
styling and functionality to the resultant repeated regions that
should be populating it's panels.
I suspect the answer is to be found in the stepcarousel.js
script itself somewhere in this function:
setup:function(config){
//Disable Step Gallery scrollbars ASAP dynamically (enabled
for sake of users with JS disabled)
document.write('<style
type="text/css">\n#'+config.galleryid+'{overflow:
hidden;}\n</style>')
jQuery(document).ready(function($){
config.$gallery=$('#'+config.galleryid)
config.gallerywidth=config.$gallery.width()
config.offsets={left:stepcarousel.getoffset(config.$gallery.get(0),
"offsetLeft"), top:stepcarousel.getoffset(config.$gallery.get(0),
"offsetTop")}
config.$belt=config.$gallery.find('.'+config.beltclass)
//Find Belt DIV that contains all the panels
config.$panels=config.$gallery.find('.'+config.panelclass)
//Find Panel DIVs that each contain a slide
config.panelbehavior.wraparound=(config.autostep &&
config.autostep.enable)? true : config.panelbehavior.wraparound
//if auto step enabled, set "wraparound" to true
config.onpanelclick=(typeof
config.onpanelclick=="undefined")? function(target){} :
config.onpanelclick //attach custom "onpanelclick" event handler
config.onslideaction=(typeof config.onslide=="undefined")?
function(){} : function(beltobj){$(beltobj).stop();
config.onslide()} //attach custom "onslide" event handler
config.oninit=(typeof config.oninit=="undefined")?
function(){} : config.oninit //attach custom "oninit" event handler
config.beltoffset=stepcarousel.getCSSValue(config.$belt.css('marginLeft'))
//Find length of Belt DIV's left margin
config.statusvars=config.statusvars || [] //get variable
names that will hold "start", "end", and "total" slides info
config.$statusobjs=[$('#'+config.statusvars[0]),
$('#'+config.statusvars[1]), $('#'+config.statusvars[2])]
config.currentpanel=0
stepcarousel.configholder[config.galleryid]=config //store
config parameter as a variable
stepcarousel.alignpanels($, config) //align panels and
initialize gallery
}) //end document.ready
I've bolded lines that might be of interest. I know that this
part is not Spry-specific. But you can see why I thought about
hard-coding the links into an external file that I could load in
here.
Any insight is appreciated. -
Two JLabels sharing horizontal layout space
My visual design calls for having two labels on a horizontal row, each justified to its edge. The leftLabel is anchored to the left edge of the panel. The rightLabel is anchored to the right edge. As their respective text changes, they grow toward the center of the panel, but I want to make the most of the horizontal space so that even if one of them is long, if the other is short, all the text can be seen. I don't want to arbitrarily restrict the width of either one since I don't know what the text will be at any one time.
Say I have space for 10 chars across.
If leftLabel is "ABCDEFGHI" and rightLabel is "Z", I want to see "ABCDEFGHI Z", but if leftLabel is "ABCDEFGHIJKLM" and rightLabel is "XYZ", they both won't fit, and I want to see "ABCDEF... XYZ".
I've tried using GridBagLayout but I can't make it do what I want. The "GridBagLayout.columnWidths" constraints don't appear to have the desired "minimum size" effect.Use BorderLayout and place the left one at BorderLayout.CENTER and the right one at BorderLayout.EAST.
The right one will be given as much space as it needs and the left one will take the rest. -
Hi ,please i need some help
i need to make this layout but i did not find how in the pivot table :
Order status Orders count
Paid A
Confirmed B
Cancelled C
Rejecte D
Alternative E
Total Orders A+B+C+D+E=X
Variance1 A/X
Variance2 B/X
Variance3 C/X
Total confirmed A+B
I also need to make the totals in bold and the variance in color ,please helpIt is better to write the same in Either Narrative View or Static View.
Check the below example: Screen shot 3 (Left corner report - Top 10 sales by country) represents your requirement.
http://santoshbidw.wordpress.com/category/obiee-10g/obiee-10g-answers/narrative-view/
Maybe you are looking for
-
A media for an HD wedding file H264 .mp4
Hi guys, Maybe I'm a little dummy but.... I have a 4,90Gb Mp4 (h264) HD file. Is the result of a 27min wedding video project. And now? How to let bride and groom see their wedding on their own HDTV? I bought a 8 Gb pen drive to put it on but of cours
-
Licensing a two copy download, Buying from a 3rd Party Vendor
I'm shopping for Acrobat XI pro. When a license is specified as "2 copy max", may I distribute to my out-of-town business partner. If so both copies should still be in my name? Has anybody had trouble buying from a discount 3rd party vendor and gett
-
Errors when installing CS5 Master
I am trying to install Adobe CS5 Master Suite and all programs except Illustrator, Fireworks, Flash, and a couple more have error messages and won't download. Please Help!
-
Can I create a rightclick (shell) entry to PSE 9?
Hello, Is it possible to create an entry in the shell (rightclick menu on a file) like "add to Photoshop Elements Catalog"? best regards
-
Hi, I am passing advance to vendors in F-48. After filling all the details, i went on document tab. There i can see 'park' option. But i am unable to click on it. Other things like Simulate & Post under document tab, i am able to select. Let me know