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
Developer Blog
Follow us on Twitter
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
(preview only)
Search
Advanced search
Recent
Lazarus Vs. Microsoft Acc...
by
Rainbow6
[
Today
at 06:48:31 pm]
String Function Question
by
lucamar
[
Today
at 06:30:54 pm]
incompatible packages
by
Martin_fr
[
Today
at 06:18:03 pm]
Making a ListBox effectiv...
by
Handoko
[
Today
at 05:53:10 pm]
Bug I think.
by
Martin_fr
[
Today
at 05:35:57 pm]
Fatal: No memory left
by
Laksen
[
Today
at 05:30:19 pm]
IDE freezing the OS
by
ChrisR
[
Today
at 05:20:55 pm]
Interfaces/Polymorphism
by
mtournay
[
Today
at 05:17:51 pm]
"Compressing" a list of n...
by
winni
[
Today
at 05:08:56 pm]
Ubuntu 19.10 and libgdk
by
ChrisR
[
Today
at 04:50:19 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] ListView columns render '_' wrong (Read 1574 times)
Alextp
Hero Member
Posts: 893
[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: 2119
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 2.0.2/2.0.4 - FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.
Alextp
Hero Member
Posts: 893
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: 893
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