Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
GTK
»
[Solved] ListView columns render '_' wrong
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
More componenets.
by
funlw65
[
Today
at 05:58:51 pm]
Tchart Log10 transformati...
by
wp
[
Today
at 05:35:36 pm]
Indy: check if client is ...
by
engkin
[
Today
at 05:21:26 pm]
[LAMW] jNotificationManag...
by
Segator
[
Today
at 05:00:51 pm]
linux x64 assembler
by
Key-Real
[
Today
at 05:00:45 pm]
Linux messagebox
by
Handoko
[
Today
at 04:57:37 pm]
WinAPI - examples - post ...
by
440bx
[
Today
at 04:57:12 pm]
LAMW - Linux Installation...
by
Handoko
[
Today
at 04:53:21 pm]
[LAMW] is it possible sen...
by
Segator
[
Today
at 04:29:53 pm]
converting C++ over laz, ...
by
jamie
[
Today
at 04:19:26 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] ListView columns render '_' wrong (Read 2170 times)
Alextp
Hero Member
Posts: 1208
[Solved] ListView columns render '_' wrong
«
on:
January 15, 2019, 08:07:49 am »
Seems some GTK2 caveat. name "work_local" in column title of listview. Shows as "worklocal" with underlined "l" char.
Pls fix.
«
Last Edit: January 16, 2019, 03:29:12 pm by Alextp
»
Logged
CudaText editor
-
ATSynEdit
-
More from me
lucamar
Hero Member
Posts: 3597
Re: ListView header shows name "work_local" with underlined "l" instead of "_"
«
Reply #1 on:
January 15, 2019, 12:29:43 pm »
It's a widgetset gotcha, I think. IIRC the underline character is used in the GTK API for the same purpose the ampersand is in the Windows API.
Logged
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!)
Lazarus/FPC 2.0.8/3.0.4 & 2.0.10/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.
Alextp
Hero Member
Posts: 1208
Re: ListView header shows name "work_local" with underlined "l" instead of "_"
«
Reply #2 on:
January 15, 2019, 07:41:23 pm »
https://developer.gnome.org/gtk3/3.5/GtkButton.html
If characters in label are preceded by an underscore, they are underlined. If you need a literal underscore character in a label, use “__” (two underscores). The first underlined character represents a keyboard accelerator called a mnemonic.
//Maybe will try making a patch
Logged
CudaText editor
-
ATSynEdit
-
More from me
Alextp
Hero Member
Posts: 1208
Re: ListView header shows name "work_local" with underlined "l" instead of "_"
«
Reply #3 on:
January 16, 2019, 03:28:28 pm »
Fix here
https://bugs.freepascal.org/view.php?id=34882
Someone pls adapt it for Gtk3 (I cannot compile it)
Logged
CudaText editor
-
ATSynEdit
-
More from me
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Widgetset
»
GTK
»
[Solved] ListView columns render '_' wrong
TinyPortal
© 2005-2018