Recent

Author Topic: [SOLVED] GTK3 : Icons have borders. Is this a bug or for debugging ?  (Read 5252 times)

zeljko

  • Hero Member
  • *****
  • Posts: 1905
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: [SOLVED] GTK3 : Icons have borders. Is this a bug or for debugging ?
« Reply #15 on: March 16, 2026, 12:44:37 pm »
What borders exactly ? Screenshoot ?

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1875
Re: [SOLVED] GTK3 : Icons have borders. Is this a bug or for debugging ?
« Reply #16 on: March 16, 2026, 12:45:20 pm »
No greens anymore on my system with latest changes !
Ubuntu 2004, vanilla.
Small bugger: TPageControl labels do not react to clicks to change a page.

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1945
Re: [SOLVED] GTK3 : Icons have borders. Is this a bug or for debugging ?
« Reply #17 on: March 16, 2026, 12:55:54 pm »
What borders exactly ? Screenshoot ?
I don't know if wp means the same thing, but the tool buttons aren't "flat" in GTK3 (top). They have a border.
In GTK2 (bottom), there's no border, which looks cleaner and clearer.
« Last Edit: March 16, 2026, 12:58:33 pm by theo »

zeljko

  • Hero Member
  • *****
  • Posts: 1905
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: [SOLVED] GTK3 : Icons have borders. Is this a bug or for debugging ?
« Reply #18 on: March 16, 2026, 02:59:43 pm »
I'll check what's up with flat ttoolbuttons, afair Tspeedbuttons were ok with flat true/false.

ginoo

  • Full Member
  • ***
  • Posts: 160
Re: [SOLVED] GTK3 : Icons have borders. Is this a bug or for debugging ?
« Reply #19 on: March 16, 2026, 06:44:47 pm »
The icon border issue also occurs with Linux Mint Cinnamon. I'm using trunk from a few days ago
« Last Edit: March 16, 2026, 06:58:23 pm by ginoo »

ginoo

  • Full Member
  • ***
  • Posts: 160
Re: [SOLVED] GTK3 : Icons have borders. Is this a bug or for debugging ?
« Reply #20 on: March 16, 2026, 06:55:37 pm »
The unit1 icon is also slightly different in size between GTK3 and Lazarus 4.6 GTK2.
Another problem with Lazarus 4.99 is that when I don't want to save changes, Lazarus won't close when I close it.

zeljko

  • Hero Member
  • *****
  • Posts: 1905
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: [SOLVED] GTK3 : Icons have borders. Is this a bug or for debugging ?
« Reply #21 on: March 16, 2026, 10:03:33 pm »
Pull current trunk, I've fixed dialogs some time ago.


theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1945
Re: [SOLVED] GTK3 : Icons have borders. Is this a bug or for debugging ?
« Reply #23 on: March 16, 2026, 11:29:43 pm »
Also fixed flat buttons drawing. 

Yeah, it looks great now!

 

TinyPortal © 2005-2018