My main window looks like this:
____________________________
|Upper View |
|___________________________|
|Left View|Editor|Right view|
| | | |
| | | |
| | | |
and I want to make the upper view not resizable.
The Perspective.createInitialLayout is:
layout.addStandaloneView(URLView.ID, false, IPageLayout.TOP, 0f, layout.getEditorArea());
layout.addStandaloneView(ServicesView.ID, false, IPageLayout.LEFT, 0.2f, layout.getEditorArea());
IFolderLayout folder = layout.createFolder("responses", IPageLayout.RIGHT, 0.6f, layout.getEditorArea());
folder.addPlaceholder(ResponseView.ID + ":*");
folder.addView(ResponseView.ID);
layout.getViewLayout(ResponseView.ID).setCloseable(true);
Is there any way to do it?
Thank you!
There is no easy way to make a view non-resizable. A possible way could be to introduce a banner to place the content of that view inside this banner. I've written some time ago a small example
Related
I have this table:
[width="10%", cols="^", options="header"]
|===
| header
| one
| two
| three
| four
|===
Which renders as:
In order to get to none-striped:
I do this:
[width="10%", cols="^", options="header"]
|===
| Header
| one
{set:cellbgcolor:white}| two
| three
| four
|===
{set:cellbgcolor!}
But the disadvantage of this is clear (verbosity, forcing specific color, ...), not to state that it doesn't work in other AsciiDoctor variants (e.g. PDF)
I am aware of issue #1365, but it's very new, and only implemented in the ruby variant of AsciiDoctor, not in its JS variant (with which most of the WYSIWYG editors work).
Long story short - is there anyway to achieve it in present state?
Did you try 'stripes=none' (manual)?
[cols="2,4,2,4,2", stripes=none, grid=none, frame=none]
|===
| ^.>| +++_____________________+++ | ^.>| +++_____________________+++ |
| ^.<| Unterschrift | ^.<| Unterschrift |
|===
I am reporting off of a cube into a crosstab with the results being summarized. For example:
| Val 1 | Val 2
----------------------------------------------------
Division 1 | Region 1 | Location 1 | 5.00 | 3.00
| |-----------------------------
| | Location 2 | 2.00 | 6.00
| |-----------------------------
| | Reg Sum | 7.00 | 9.00
|----------------------------------------
| Region 2 | Location 1 | 4.00 | 3.00
| |-----------------------------
| | Location 2 | 12.80 | 7.40
| |-----------------------------
| | Location 3 | 5.00 | 11.00
| |-----------------------------
| | Reg Sum | 21.80 | 21.40
|----------------------------------------
| Div Sum | 28.80 | 30.40
----------------------------------------------------
Division 2 | Region 1 | Location 1 | 3.00 | 12.85
etc...
Currently, Cognos is breaking the page in the middle of the Division 1/Region 2 subgroup. If the whole region subgroup (including summary) doesn't fit on the remainder of the page, I want it to go to the next page.
I've tried pagination at the region and location level. That has not given me the results I want. Any ideas as to how I can achieve this?
EDIT: Forgot to mention that this is Cognos 8.4.
well, a litle bit out-dated, but nevertheless here is what worked for me:
unlock
place a 1x1 table object inside the Regions cell
place the regions name inside the table object (just drag it inside
the table)
in the table's paginations properties deselect the option Allow row
contents to break across pages
you might also need to specify the height of the table object.
You can use Page breaks to achieve this.
In your example, click on Region data item. From Structure menu, click "Set Page Break using Master/Detail".
That will do the trick.
Please note, for crosstab and chart, report studio creates Page Break using Master/Detail relationship. If you were using List or repeater, then you could use the option of creating page break without Master/Detail relationship.
Please refer to IBM Infocenter for more information on Page Breaks and Page Sets. http://publib.boulder.ibm.com/infocenter/c8bi/v8r4m0/index.jsp?topic=/com.ibm.swg.im.cognos.c8bi.doc/welcome.html
I have a label and a field as in the follwing layout.
________________
| _____ |
| | | |
| |Label| |
| |_____| |
| |
| ____________ |->Outer fixedframe
| | _______ | |
| | | | | |
| | |field| | |
| | |_____| | |
| |__>_______| |
| | |
| -->Inner |
| Horizontally expanding repeating frame
|______________|
I would like to center align the label with respect to the field in the inner repeating frame. For example,
If the repeating frame generates 5 fields, the label needs to be right above the 3rd field.
Is this possible using oracle reports or any alternate layouts?. Any help would be much appreciated
I just got this working with a quick mock-up and here is how I did it:
1) Select the "Anchor" tool from the tool palette and anchor the bottom middle "outline square" (I'm not sure what the technical term for those are but the grab-points on an object where you can resize them) from the label object and connect it to the top middle "outline square" of the horizontal repeating frame.
2) [Optional] Click on the anchor line and check the properties to make sure the Child Edge Type is set to "Bottom", the Child Edge Percent is "50", the Parent Edge Type is "Top", and the Parent Edge Percent is "50".
3) Click on the label and set the Keep With Anchoring Object property to "Yes".
4) Make sure your label is centered over the repeating frame in the Paper Layout view. I noticed that if it is off-centered to start with it will be off-centered by the same amount when run. I ended up making the label the same width as the repeating frame it was over and then set both to a Horizontal Elasticity of "Variable".
I ran this with 5 horizontally repeated objects and then I added a 6th to verify it remained centered and both worked.
Hope that helps and that I didn't miss a step. I'll save the mock-up in case it needs further steps or explanation.
My current visual studio panel layout looks similar to the drawing below:
-----------------
| | | |
| | | |
| | | |
| | |--|
| | | |
| |---------| |
| | | |
-----------------
I really don't need the full height of the screen for the toolbox or server explorer and was wondering if there was a way to change the layout so that the bottom section extended all the way to the left edge of the screen like in this drawing:
-----------------
| | | |
| | | |
| | | |
| | |--|
| | | |
|------------| |
| | |
-----------------
I am space constrained on the right side, so a symetric layout with the bottom section running full width wouldn't be acceptable. I've tried dragging stuff around but haven't had any luck in getting VS to position the panels as I want. Is my desired layout not possible or am I missing the right way to coax the layout into fitting?
Yes, you can do this. When you are dragging the toolbox, note the little "targets" in the center of the screen. Drop the toolbox onto the target that corresponds with the area where you want it docked.
See here for more detail and pics.
Drag the bottom panel off and make sure to mouse over the icon that appears all the way at the bottom center of the screen, although this will cause it to take up the whole bottom portion of the IDE,
That's an easy process.
Drag the window docked in the bottom to middle of the VS window so that it floats in the middle.
Now when you drag it, a helper would apper to doc it.
You'll have some dynamic docking helpers like below.
↑
↑
← ← → →
↓
↓
if you chose the downarrow in the dock helper in the middle, you'll get the layout like this.
| | | |
| | | |
| | | |
| | |--|
| | | |
| |---------| |
| | | |
-----------------
If you chose the downarrow all the way at the bottom, you'll get the layout like this.
| | | |
| | | |
| | | |
| | |--|
| | | |
|---------------|
| |
-----------------
In Autohotkey,
I want to position my Gui window to right bottom of the screen but how?
For illustrate,
+--------------------------------------+
| Desktop (screen) |
| |
| |
| +----------+ |
| | Gui | |
| | window | |
| | | |
| | | |
| +----------+ |
+--------------------------------------+
You'll need to use the pre-defined width and height of the GUI with the internal variables A_ScreenWidth and A_ScreenHeight and force Param2 of Gui, Show as an expression to make it work. For example if the width of the GUI is 900 and the height is 550:
Gui, Show, % "x" A_ScreenWidth - 900 " y" A_ScreenHeight - 550 " w" 900 " h" 550, The GUI
You can easily do this using a tool build itself using the autohotkey.
This tool has a drag and drop support for positioning your controls according to your own liking.
Give it a try. You won't regret it. :)
No installation required, just run the file.
SmartGui