Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用org.eclipse.swt.widgets.Table. 我有一个宽度为 100 的列,例如,如果相应TableItem的文本长于列宽,我希望剩余的文本出现在该单元格的新行中。
org.eclipse.swt.widgets.Table
TableItem
是否可以?
您可以使用 multiline TableItem,如本例所示:
但是,您必须自己处理换行符(即\n)的插入。TableItems不支持自行换行。
\n
我一直在尝试想出一个表格,学员可以在其中申请化妆课程,并且当他们提交时,数据将存储在数据库中。我是 android 编程新手,我也在使用 php 连接到数据库。
我不知道代码哪里出错了
这是我的错误:
08-01 1