Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Widgetset
»
GTK
»
[Solved] ListView columns render '_' wrong
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Debian removes FPC/Lazaru...
by
cdbc
[
Today
at 08:42:18 am]
could Ardour's YTK be use...
by
robert rozee
[
Today
at 08:28:06 am]
How many lines is too man...
by
440bx
[
Today
at 07:46:19 am]
[ANN] PasBuild 1.5.0 rele...
by
cdbc
[
Today
at 05:10:09 am]
Commerce website written ...
by
valdir.marcos
[
Today
at 04:55:08 am]
New book on Object Pascal
by
valdir.marcos
[
Today
at 04:30:08 am]
How to execute a procedur...
by
Aruna
[
Today
at 03:34:41 am]
BGRAVirtualScreen - weird...
by
backprop
[
Today
at 03:33:51 am]
The "dockedformeditor" pa...
by
Gustavo 'Gus' Carreno
[
Today
at 02:44:31 am]
unit ProjectDescriptorTyp...
by
n7800
[
Today
at 02:01:39 am]
TDirectoryEdit with OnAft...
by
dsiders
[
Today
at 12:20:23 am]
Canvas.StretchDraw, does ...
by
jamie
[March 06, 2026, 11:27:18 pm]
Front-end framework
by
kveroneau
[March 06, 2026, 08:00:37 pm]
REST Server/Client, how t...
by
kveroneau
[March 06, 2026, 07:35:25 pm]
Variable initialization
by
LeP
[March 06, 2026, 06:58:53 pm]
[SOLVED] Problem to resto...
by
Hartmut
[March 06, 2026, 06:42:28 pm]
Text Fill (Memo)
by
Sc0li0sis
[March 06, 2026, 06:08:54 pm]
BGRA Controls license inf...
by
Zoran
[March 06, 2026, 05:48:27 pm]
TCalendar Assign a Date
by
eldonfsr
[March 06, 2026, 05:04:10 pm]
Update a table with an Au...
by
wp
[March 06, 2026, 04:16:29 pm]
[Feature Request]Add Larg...
by
TYDQ
[March 06, 2026, 03:03:31 pm]
Receipt printers & lazare...
by
Petrus Vorster
[March 06, 2026, 02:36:22 pm]
STOMP Clients Release 202...
by
mjustin
[March 06, 2026, 01:56:25 pm]
FreePascal/Lazarus docume...
by
MarkMLl
[March 06, 2026, 10:03:46 am]
PasLLM - LLM Inference En...
by
domasz
[March 06, 2026, 08:53:15 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] ListView columns render '_' wrong (Read 3845 times)
AlexTP
Hero Member
Posts: 2676
[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: 4217
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.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.
AlexTP
Hero Member
Posts: 2676
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: 2676
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