Recent

Author Topic: Default text color for tabs (Qt only)  (Read 5740 times)

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Default text color for tabs (Qt only)
« on: March 02, 2013, 01:14:35 pm »
I'm using a dark theme (KDE: Wonton soup). But LCL/Qt uses black for tab's text which makes it unreadable. I attach a screenshot with Lazarus compiled for Qt.
Lazarus 1.7 (SVN) FPC 3.0.0

Blaazen

  • Hero Member
  • *****
  • Posts: 2782
  • POKE 54296,15
    • Eye-Candy Controls
Re: Default text color for tabs (Qt only)
« Reply #1 on: March 02, 2013, 01:25:08 pm »
This should be reported. I tried themes Wonton Soup and Zion (Reversed) and both have bad colors for Tabs (in IDE and in project).
Lazarus 2.1.0 r59757M FPC 3.3.1 r40507 x86_64-linux-qt Chakra, Qt 4.8.7/5.11.2, Plasma 5.14.2
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Lazarus 1.7 (SVN) FPC 3.0.0

zeljko

  • Hero Member
  • *****
  • Posts: 1079
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Default text color for tabs (Qt only)
« Reply #3 on: March 11, 2013, 05:56:44 pm »
It's pretty strange since QTabControl takes theme color for widget and it's font. I'll check that next days.

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Re: Default text color for tabs (Qt only)
« Reply #4 on: March 11, 2013, 07:17:23 pm »
I double checked all colour settings and there is nothing like "tab". Yet it's not easy to find such control in a native KDE/Qt programs. But finally Dolphin has tabbed browsing with dark background and white captions.
Lazarus 1.7 (SVN) FPC 3.0.0

zeljko

  • Hero Member
  • *****
  • Posts: 1079
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Default text color for tabs (Qt only)
« Reply #5 on: March 14, 2013, 07:35:13 am »
Dolphin uses libkde which might do the job. Please try with pure Qt application if it works ok (probably qt4-config have tabs).

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Re: Default text color for tabs (Qt only)
« Reply #6 on: March 14, 2013, 09:38:24 am »
Perfect white font on dark grey background for tabs.
Lazarus 1.7 (SVN) FPC 3.0.0