Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux 下的 TdateTimePicker 样式是不是有字符上显示的问题 #207

Open
lnxyz opened this issue Jul 9, 2024 · 2 comments
Open

Comments

@lnxyz
Copy link

lnxyz commented Jul 9, 2024

os: linux mint (cinnamon 6.0.4)

GoVCLDesigner IDE ( linux版 1.0.1) 直接拉下来,发现 这个 TimeSeparator 默认的字符比较奇怪。

image

object DateTimePicker1: TDateTimePicker
  Left = 155
  Height = 23
  Top = 44
  Width = 87
  CenturyFrom = 1941
  MaxDate = 2958465
  MinDate = -53780
  TabOrder = 0
  TrailingSeparator = False
  TextForNullDate = 'NULL'
  LeadingZeros = True
  Kind = dtkDate
  TimeSeparator = '�'
  TimeFormat = tf24
  TimeDisplay = tdHMS
  DateMode = dmComboBox
  Date = 45482
  Time = 0.626018692128127
  UseDefaultSeparators = False
  HideDateTimeParts = []
  MonthNames = 'Long'
end

同样 运行 示例 samples/grids/stringgrid2
提示: (stringgrid2:78772): Pango-WARNING **: 15:06:54.957: Invalid UTF-8 string passed to pango_layout_set_text()

image

@ying32
Copy link
Owner

ying32 commented Jul 9, 2024

是有这问题,日期的那个组件可以修改字符解决,表格的那个掩码问题我也没找到原因,很是奇怪。

@lnxyz
Copy link
Author

lnxyz commented Jul 18, 2024

是有这问题,日期的那个组件可以修改字符解决,表格的那个掩码问题我也没找到原因,很是奇怪。

是的,这个冒号 字符编码感觉不对,但只要手工重新配置一下冒号,这现象就消失了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants