The rest of the layout code is very straightforward.
布局代码剩下的部分非常简单。
Marginal convenience in your layout code is not a necessity.
布局代码中的窗口一侧的便捷工具不是必需的。
Another is to have a whole second copy of the layout code.
另一种则是完整拷贝一份布局代码。
Views are closely coupled with page templates, which contain the layout code or markup necessary to correctly present the view to the user.
视图与页面模板紧密结合,页面模板包含必要的布局代码和标记,以将视图正确地呈现给用户。
Although it may seem strange to compare FXG to CSS, FXG conceptually accomplishes the same exact thing as CSS: it separates the layout code from the style information.
尽管对FXG和CSS进行比较似乎有点奇怪,但FXG完成的任务在概念上与CSS完全相同:它将布局代码和样式信息分离开来。
In the code above, the constructor of the parent class takes one argument, an integer representing the layout.
在上述代码中,父类的构造函数接受一个参数,一个表示布局的整型参数。
However, since the page layout and program data are merged in the program code, if the layout changes the program may need to be rebuilt.
但是,由于页面布局和程序数据合并到程序代码中,所以如果布局发生更改,则可能需要重构程序。
Listing 2 shows the code needed to set up the basic layout; it should be self-explanatory.
清单2显示了设置基本布局所需的代码;它应当是自解释的。
Listing 6 gives a piece of code, which sets the data layout panel invisible.
清单6给出了一小段用来设置数据布局面板成为不可见的代码。
The code was loaded with tables and small spacer images to achieve the desired layout.
代码是和表及小的间隔图片一起装入的,目的是得到所需布局。
In practice this is easy; just don't write code that does low-level manipulations of the stack frame or makes assumptions about the stack layout.
这在实践上是很容易的;只要不编写对堆栈桢执行低级操作或对堆栈的布局作假设的代码就行了。
The following figure presents a more "graphic" view of the OS-specific code layout.
下图从更为“图形化”的角度展示了特定于操作系统的代码规划。
Designing in code allows you to see how real data works inside a layout.
设计师通过写代码来了解真实的数据如何在页面布局中工作。
Changes to layout would require changes to code.
更改布局时需要更改代码。
No circular dependencies, binaries, libs, docs, builds, third-party code all organized into appropriate folders Physical layout of source tree matches logical hierarchy and organization.
没有循环依赖,二进制文件,库,文档,构建,第三方的代码都组织进合适的文件夹内。源码树的物理布局与逻辑层次、组织方式相匹配。
In principle, you might be able to use knowledge you have about data content or layout to code a clever look-up that's very fast.
从原则上说,您可使用已有的关于数据内容或布局的知识来编写一个可快速运行的巧妙的查询。
The JSP code that is invoked for any of the devices can actually emit the exact same markup, the data pruning will take place when the markup is applied to the layout of each device.
能被任何设备调用的JSP代码实际上生成同样的标记,当这些标记应用于设备的布局中时数据才被删减。
This makes the layout specification a compact string, instead of many lines of code specifying constraints or setting up hierarchies of panels.
这使得我们可以用一个简洁的字符串来描述布局规格,而不比长篇累牍编写很多行代码来指明约束或者创建面板层次结构。
A Layout is a file containing HTML markup and Cake code.
一个布局是包含HTML标记和CakePHP代码的文件。
The layout region itself cannot be presented to browsers, but you can mimic the layout with tags (HTML code that allows you to position a block of content anywhere on the page) or tables.
布局区域本身不能在浏览器上显示,但是您可以使用标记或表来模拟布局(标记是一种HTML代码,用于在页面上任何位置放置一段内容)。
For example the OS-specific code layout could look something like this.
例如,特定于操作系统的代码规划可能是类似这样。
Create a label in the report layout below the table and add the following code.
在表下面的报告布局中创建一个label,并添加以下代码。
You can use the grid handler to create a DataGrid component with paging in Business Space with minimal coding If you need to change the layout, you can do so easily without impacting the code.
您可以使用网格处理程序以最少量的代码在Business Space中创建具有分页功能的DataGrid组件。您可以在不影响代码的情况下轻松改变布局。
SQL Prompt: Intelligent code completion and layout for SQL Server. “Accelerates all my programming.”
SQLPrompt: SQL服务器智能代码填写和布局“为我所有的编程提速。”
The example in Listing 1 uses those variables in the following code snippet to tell Fop the page layout wanted for the document.
清单1中的示例使用下列代码片段中的那些变量来告诉Fop文档所需的页面布局。
Code should be arranged so that there are no architecture-specific subdirectories within the Linux-specific directory in the code layout.
代码的安排应该使得在代码规划中特定于Linux的目录内不存在特定于体系结构的子目录。
The aim should be to have the program written for a particular architecture to compile on another architecture with minimal effort and minimum changes to the code, the code layout, and the makefiles.
目标应该是,以最少的精力,对代码、代码规划和makefile 文件进行最少的修改, 就可以令为特定体系结构所编写的程序在其他体系结构上被编译。
After this code executes, the object layout is as depicted in Figure 2.
在这段代码执行后,对象布局就如图2所示。
We did not need to write a single line of code to enable this layout behavior - the Grid container and the layout system took care of dynamically resizing and flowing everything for us.
我们不需要编写一行代码就可以启用这个布局行为,Grid容器和布局系统会为我们自动调整大小或流动其中的任何东西。
You can also see that the different elements are assigned to the different panes in the login layout, which is referred to in the tag in the code.
您还可以看到,不同元素分配到login布局中的不同窗格,上述代码的标记中引用了该布局。
应用推荐