search for: layout

Displaying 20 results from an estimated 10501 matches for "layout".

2006 Feb 05
4
Another layout question - Layouts on a per method basis - Layouts with AJAX
I feel I am very close to understanding how layouts are used in Rails: Q1. I know one can specify a "default" layout for all methods in a controller by specifying layout ''my-default-layout'' How can this be overridden for individual methods so when those methods are called/executed, the overridden layout wi...
2008 Mar 04
1
grid.layout?
...44383 language R version.string R version 2.6.2 (2008-02-08) The following code does almost everything I want except the red rectangle should be aligned flush with square. There's something I haven't understood about the grid.layout function. The second time I use it, it does what I expect, but there's something wrong with the first one. require(grid) N <- 5 variates <- LETTERS[1:N] grid.newpage() plot.square <- 2 * length(variates)# cm text.wid <- 3 # cm vp <- grid.layout(nrow = 1, ncol = 2...
2014 Mar 21
3
[LLVMdev] LLD: Layout-after and layout-before
+llvmdev On Fri, Mar 21, 2014 at 3:43 PM, Rui Ueyama <ruiu at google.com> wrote: > Hi all, > > I'm trying to debug an issue that LLD sometimes get into an infinite loop > in setChainRoot() in LayoutPass.cpp. It looks like the cause is either > buildPrecededByTable() handles layoutBefore edges in a wrong way or we > construct a contradictory layout-before/layout-after graph. > > At this point I started thinking that I'm wasting time on data structure > that's more complic...
2007 Oct 14
0
10 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...izontally inside invalid area diff --git a/libswfdec/swfdec_text_field.c b/libswfdec/swfdec_text_field.c index 6adbe8a..867b30d 100644 --- a/libswfdec/swfdec_text_field.c +++ b/libswfdec/swfdec_text_field.c @@ -254,7 +254,7 @@ swfdec_text_field_render (SwfdecTextField *text, cairo_t *cr, GList *layouts, *iter; SwfdecRect limit; SwfdecColor color; - int y, linenum; + int y, x, linenum; g_return_if_fail (SWFDEC_IS_TEXT_FIELD (text)); g_return_if_fail (cr != NULL); @@ -285,8 +285,9 @@ swfdec_text_field_render (SwfdecTextField *text, cairo_t *cr, inval); linenum = 0; + x...
2007 Oct 17
0
libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie.c
...ibswfdec/swfdec_text_field.c @@ -22,7 +22,6 @@ #include "config.h" #endif -#include <pango/pangocairo.h> #include <string.h> #include "swfdec_text_field.h" @@ -91,293 +90,6 @@ swfdec_text_field_init (SwfdecTextField * text) text->scroll = 1; } -SwfdecLayout * -swfdec_text_field_generate_layouts (SwfdecTextField *text, cairo_t *cr, - const SwfdecParagraph *paragraphs, const SwfdecColorTransform *trans, - const SwfdecRect *inval, int *num) -{ - GArray *layouts; - guint i; - - g_return_val_if_fail (SWFDEC_IS_TEXT_FIELD (text), NULL); - g_return...
2014 Mar 21
2
[LLVMdev] LLD: Layout-after and layout-before
Thank you for quick responses! As to dead stripping, if dead stripping is the only pass we need bi-directional edges, we might want the dead stripping pass to construct internal data structure by reversing the graph to construct layout-before edges from layout-after edges. This should be less error prone than maintaining two reverse-directional edges throughout all passes. Of course it will make time for dead stripping proportional to the number of all atoms, rather than live ones. It looks traversing graph is surprisingly cheep...
2012 Feb 05
1
[PATCH v3] Add virtio-scsi to the virtio spec
...-- virtio-spec.lyx.saved 2011-11-29 14:00:59.782659120 +0100 +++ virtio-spec.lyx 2012-02-05 11:57:34.691711427 +0100 @@ -56,6 +56,7 @@ \html_math_output 0 \html_css_as_file 0 \html_be_strict false +\author 1531152142 "pbonzini" \end_header \begin_body @@ -321,7 +322,7 @@ \begin_layout Standard \begin_inset Tabular -<lyxtabular version="3" rows="8" columns="3"> +<lyxtabular version="3" rows="9" columns="3"> <features tabularvalignment="middle"> <column alignment="center" valign...
2012 Feb 05
1
[PATCH v3] Add virtio-scsi to the virtio spec
...-- virtio-spec.lyx.saved 2011-11-29 14:00:59.782659120 +0100 +++ virtio-spec.lyx 2012-02-05 11:57:34.691711427 +0100 @@ -56,6 +56,7 @@ \html_math_output 0 \html_css_as_file 0 \html_be_strict false +\author 1531152142 "pbonzini" \end_header \begin_body @@ -321,7 +322,7 @@ \begin_layout Standard \begin_inset Tabular -<lyxtabular version="3" rows="8" columns="3"> +<lyxtabular version="3" rows="9" columns="3"> <features tabularvalignment="middle"> <column alignment="center" valign...
2006 Jan 17
9
Setting layout template in .rhtml
I''ve a single controller - class ContentController < ApplicationController end in the app/views/content folder I have quite a few .rhtml files I need to be able to choose a different layout template to use in each of these .rhtml files. i''d like to be able to do something like (which doesn''t work..) <% layout ''layout1'' %> Any suggestions? -- Posted via http://www.ruby-forum.com/.
2005 Dec 31
7
Application Errors w/ layout & custom view pages
1) I get Rails Application Error when trying to use layout test_controller def list layout "stdlayout" end in the views/test/layouts stdlayout.rhtml <html> <head><title>test</title></head> </body> <h1>Test</h1> <%= content_for_layout %> </body> </html> 2) I get Rails Applicat...
2017 Feb 20
0
mdadm vs raidcheck
...dm from write access on the file /var/log/rear/rear-fcshome.log.lockless. so I go look at that file and find that it contains, down in the middle of commands run, a series of errors: 2017-02-19 01:30:03 Relax-and-Recover 1.17.2 / Git 2017-02-19 01:30:03 Command line options: /usr/sbin/rear checklayout 2017-02-19 01:30:03 Including /etc/rear/os.conf 2017-02-19 01:30:03 Including conf/Linux-i386.conf 2017-02-19 01:30:03 Including conf/GNU/Linux.conf 2017-02-19 01:30:04 Including /etc/rear/local.conf 2017-02-19 01:30:04 Running 'init' stage 2017-02-19 01:30:04 Including init/default/0...
2006 May 23
11
adding layouts within layouts
Hi, I want to be able to have several layouts within each other so that I don''t have to keep repeating the layout code for one, in another. An example would be having a layout for the title of your web page and then having an embedded layout for the body portion in which the HTML for whatever view gets displayed. Is this possible?...
2003 Apr 16
2
layout.show()
Dear r-help, Please, be so kind, tell me what does mean the parameter of layout.show()? I use R 1.6.2... Windows NT 4.0 Unfortunately I cannot understand phrases from the help "n: number of figures to plot." what figures? "`layout.show(n)' plots (part of) the current layout, namely the outlines of the next `n' figures."...
2006 Feb 23
5
layouts
I created a controller called reports, for which I didn''t have any model or tables. I wanted to use a menu/layout structure similar to all my other models/controllers and added a layout named reports which then gives me the menu/layout structure but is also now part of all my reports. That isn''t gonna work so I renamed reports.rhtml to reports_forms.rhtml (still inside my layouts directory) and then...
2012 Apr 04
0
[PATCH] virtio-spec: add an rpmsg appendix
...0.9.4.lyx +++ b/virtio-0.9.4.lyx @@ -56,6 +56,7 @@ \html_math_output 0 \html_css_as_file 0 \html_be_strict false +\author -1096565211 "Ohad,,," \author -608949062 "Rusty Russell,,," \author 1531152142 "pbonzini" \end_header @@ -573,8 +574,12 @@ rpmsg \begin_layout Plain Layout -\change_inserted -608949062 1323409055 +\change_inserted -1096565211 1333519287 +Appendix H +\change_deleted -1096565211 1333521034 - +\change_inserted -608949062 1323409055 + \end_layout \end_inset @@ -609,7 +614,13 @@ SCSI host \begin_layout Plain Layout \change_inserted...
2012 Apr 04
0
[PATCH] virtio-spec: add an rpmsg appendix
...0.9.4.lyx +++ b/virtio-0.9.4.lyx @@ -56,6 +56,7 @@ \html_math_output 0 \html_css_as_file 0 \html_be_strict false +\author -1096565211 "Ohad,,," \author -608949062 "Rusty Russell,,," \author 1531152142 "pbonzini" \end_header @@ -573,8 +574,12 @@ rpmsg \begin_layout Plain Layout -\change_inserted -608949062 1323409055 +\change_inserted -1096565211 1333519287 +Appendix H +\change_deleted -1096565211 1333521034 - +\change_inserted -608949062 1323409055 + \end_layout \end_inset @@ -609,7 +614,13 @@ SCSI host \begin_layout Plain Layout \change_inserted...
2011 Aug 07
1
Using volumes during fix-layout after add/remove-brick
Hello All- I regularly increase the size of volumes using "add-brick" followed by "rebalance VOLNAME fix-layout". I usually allow normal use of an expanded volume (i.e reading and writing files) to continue while "fix-layout" is taking place, and I have not experienced any apparent problems as a result. The documentation does not say that volumes cannot be used during "fix-layout&qu...
2006 Jun 08
7
Sessions
In the Agile WD book it states regarding sesion data- "Rails uses the cookie-based approach". This can''t be entirely true can it ? Not that I''m complaining if it was but isn''t there some equivalent to say, PHP sessions ? Or am I wrong. Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jan 10
5
No layout for specific method
Is there a way to not specify a layout for a particular method in a controller? In this particular instance, I am using the admin layout for the login controller, but I don''t want the layout to be used on the "login" method. Thanks, Dan
2005 Jul 28
2
lattice/ grid.layout/ multiple graphs per page
Background: OS: Linux Mandrake 10.1 release: R 2.0.0 editor: GNU Emacs 21.3.2 front-end: ESS 5.2.3 --------------------------------- Colleagues I have a set of lattice plots, and want to plot 4 of them on the page. I am having trouble with the layout. grid.newpage() pushViewport(viewport(layout = grid.layout(2,2))) pushviewport(viewport(layout.pos.col = 1, layout.pos.row = 1)) working trellis graph code here pushviewport(viewport(layout.pos.col = 1, layout.pos.row = 2)) working trellis graph code here pushviewport(viewport(layout.pos.col = 2,...