起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 958|回复: 9

[结贴] 页面设计出现问题

[复制链接]

2

主题

7

帖子

15

积分

新手上路

Rank: 1

积分
15
QQ
发表于 2013-12-27 15:13:21 | 显示全部楼层 |阅读模式
设计了一个三标签的页面,但是为什么在显示的时候会出现三个滚动条,我把三个页签的高 宽都是改成的100%
还是不行

88

主题

9507

帖子

5135

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5135
QQ
发表于 2013-12-27 15:22:06 | 显示全部楼层
发一下w文件
远程的联系方法 QQ 728094812。添加好友时,需要填写论坛账号
发远程时同时也发一下帖子的地址,方便了解要解决的问题

如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

2

主题

7

帖子

15

积分

新手上路

Rank: 1

积分
15
QQ
 楼主| 发表于 2013-12-27 15:30:26 | 显示全部楼层
zhaixin 发表于 2013-12-27 15:22
发一下w文件

<?xml version="1.0" encoding="UTF-8"?>
<xui:window xmlns:xui="http://www.justep.com/xui" xmlns="http://www.justep.com/xui" xmlns:xforms="http://www.justep.com/xforms" component="/UI/system/components/window.xbl.xml#window" id="window" xmlns:xhtml="http://www.w3.org/1999/xhtml">  
  <xforms:model id="model1" style="height:auto;top:289px;left:158px;"><data xmlns="" id="reportData2" component="/UI/system/components/reportData.xbl.xml#data">
   <source id="default3"><action id="default4" name="newActionWF" type="action" columns="shixiang,fNo,fXMMC,shengqingriqi,fBMMC,fXMLXR,fSQSY,fYWMC,yewuqishiriqi,yewuzhongzhiriqi,fYWNR, fYWL"></action></source></data><data xmlns="" id="reportData1" component="/UI/system/components/reportData.xbl.xml#data">
   <source id="default1"><action id="default2" columns="shixiang,fNo,fXMMC,shengqingriqi,fBMMC,fXMLXR,fSQSY,fCGCP,fGGXH,fUnit,fQty,fCKDJ,fCKZJ,fNote" type="action" name="newAction0"></action></source></data>
  <data xmlns="" id="reportData3" component="/UI/system/components/reportData.xbl.xml#data">
   <source id="default5"><action id="default6" name="newActionHT" columns="shixiang,fNo,zhidanriqi,fGYSName,fHTXZ,fCGXMName,hetongjine,hetongqishiriqi,hetongzhongzhiriqi,fHTZY,fLXR,fCGCP,fGGXH,fUnit,fQty,fPrice,fAmt,fNote" type="action"></action></source></data></xforms:model>  
  <xui:view id="rootView" auto-load="true">
    <xui:layout style="width:100%;height:530px;" id="rootLayout"><xui:place control="view1" id="controlPlace1" style="width:100%;height:100%;"></xui:place></xui:layout>
  <xui:view auto-load="true" id="view1" class="xui-container">
   <layout type="absolute" style="position:relative;" id="layout1"><xhtml:div component="/UI/system/components/tabs.xbl.xml#tabs" id="tabPanel1" style="position:absolute;width:100%;height:100%;left:6px;top:1px;" class="xui-tabPanel">
   <xui:tab id="tabPage1">
    <xui:label id="xuiLabel1"><![CDATA[一般采购申请]]></xui:label>
  <xui:place control="view2" id="controlPlace4" style="height:100%;width:100%;"></xui:place></xui:tab>
   <xui:tab id="tabPage2">
    <xui:label id="xuiLabel2"><![CDATA[服务采购申请]]></xui:label>
  <xui:place control="view3" id="controlPlace6" style="height:100%;width:100%;"></xui:place></xui:tab>
  <xui:tab id="tabPage3">
   <xui:label id="xuiLabel3"><![CDATA[一般采购合同流转单]]></xui:label>
  <xui:place control="toolbars1" id="controlPlace2"></xui:place>
  <xui:place control="report1" id="controlPlace3" style="height:100%;width:100%;"></xui:place></xui:tab>
  </xhtml:div></layout>
  <xhtml:div component="/UI/system/components/toolbars.xbl.xml#toolbars" id="toolbars1"><xui:bar component="/UI/system/components/reportBar.xbl.xml#exportBar" id="exportBar1" mode="IMG_TXT_LR" report="report1">
   <item name="report-export-pdf-item" id="barItem1"></item>
   <item name="report-export-word-item" id="barItem2"></item>
   <item name="report-export-excel-item" id="barItem3"></item></xui:bar></xhtml:div>
  <xhtml:div component="/UI/system/components/report.xbl.xml#report" src="reports/test2_repor.xls" report-name="report" auto-load="true" data-list="" id="report1" row-height="21" column-width="90"></xhtml:div>
  <xui:view auto-load="true" id="view2" class="xui-container">
   <layout type="absolute" style="position:relative;" id="layout2"><xui:place control="toolbars2" id="controlPlace5" style="position:absolute;top:5px;left:5px;"></xui:place>
  <xui:place control="report3" id="controlPlace7" style="position:absolute;height:100%;background-color:transparent;top:39px;width:100%;left:5px;"></xui:place></layout>
  <xhtml:div component="/UI/system/components/toolbars.xbl.xml#toolbars" id="toolbars2"><xui:bar component="/UI/system/components/reportBar.xbl.xml#exportBar" id="exportBar2" mode="IMG_TXT_LR" style="width:317px;" report="report3">
   <item name="report-export-pdf-item" id="barItem4"></item>
   <item name="report-export-word-item" id="barItem5"></item>
   <item name="report-export-excel-item" id="barItem6"></item></xui:bar></xhtml:div>
  <xhtml:div component="/UI/system/components/report.xbl.xml#report" src="reports/test_report.xls" report-name="report" auto-load="true" data-list="" id="report3" row-height="21"></xhtml:div></xui:view>
  <xui:view auto-load="true" id="view3" class="xui-container">
   <layout type="absolute" style="position:relative;" id="layout3"><xui:place control="toolbars3" id="controlPlace8" style="position:absolute;top:5px;left:5px;"></xui:place>
  <xui:place control="report2" id="controlPlace9" style="position:absolute;left:5px;height:100%;width:100%;top:47px;"></xui:place></layout>
  <xhtml:div component="/UI/system/components/toolbars.xbl.xml#toolbars" id="toolbars3"><xui:bar component="/UI/system/components/reportBar.xbl.xml#exportBar" id="exportBar3" mode="IMG_TXT_LR">
   <item name="report-export-pdf-item" id="barItem7"></item>
   <item name="report-export-word-item" id="barItem8"></item>
   <item name="report-export-excel-item" id="barItem9"></item></xui:bar></xhtml:div>
  <xhtml:div component="/UI/system/components/report.xbl.xml#report" src="reports/test2_report.xls" report-name="report" auto-load="true" data-list="" id="report2"></xhtml:div></xui:view></xui:view></xui:view>  
  <xui:resource id="resource1"/>
</xui:window>

回复 支持 反对

使用道具 举报

88

主题

9507

帖子

5135

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5135
QQ
发表于 2013-12-27 15:43:47 | 显示全部楼层
出现滚动条是因为report的高设置为100%,再加上工具条,就超过100%,就会出现滚动条
这种情况,在tabpage中应该先放borderLayout
在borderLayout的top放工具条
在center放report
远程的联系方法 QQ 728094812。添加好友时,需要填写论坛账号
发远程时同时也发一下帖子的地址,方便了解要解决的问题

如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

2

主题

7

帖子

15

积分

新手上路

Rank: 1

积分
15
QQ
 楼主| 发表于 2013-12-27 15:45:57 | 显示全部楼层
现在的话有什么属性设置的吗?
我不想去改组件了,
回复 支持 反对

使用道具 举报

88

主题

9507

帖子

5135

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
5135
QQ
发表于 2013-12-27 15:48:32 | 显示全部楼层
不放borderLayout组件,report就要设置为固定高度
远程的联系方法 QQ 728094812。添加好友时,需要填写论坛账号
发远程时同时也发一下帖子的地址,方便了解要解决的问题

如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

2

主题

7

帖子

15

积分

新手上路

Rank: 1

积分
15
QQ
 楼主| 发表于 2013-12-27 15:49:46 | 显示全部楼层
我是放的View  我都没放borderLayout组件
回复 支持 反对

使用道具 举报

2

主题

7

帖子

15

积分

新手上路

Rank: 1

积分
15
QQ
 楼主| 发表于 2013-12-27 15:52:34 | 显示全部楼层
huangqinghong5 发表于 2013-12-27 15:45
现在的话有什么属性设置的吗?
我不想去改组件了,

report 固定高度是多少呢?
回复 支持 反对

使用道具 举报

45

主题

4492

帖子

3960

积分

论坛元老

Rank: 8Rank: 8

积分
3960
QQ
发表于 2013-12-27 15:54:58 | 显示全部楼层
huangqinghong5 发表于 2013-12-27 15:52
report 固定高度是多少呢?

建议你放borderLayout组件,这个做出来的好看,布局也不布。

评分

参与人数 1 +3 收起 理由
jishuang + 3 赞一个!

查看全部评分

向前进,向前进,我们……
回复 支持 反对

使用道具 举报

2

主题

7

帖子

15

积分

新手上路

Rank: 1

积分
15
QQ
 楼主| 发表于 2013-12-27 16:00:40 | 显示全部楼层
好吧
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-6-18 05:00 , Processed in 0.078004 second(s), 27 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表