Recent

Author Topic: tbsDivider and GroupBoxes not shown with gtk2/Linux, only with Windows  (Read 1923 times)

stem

  • Jr. Member
  • **
  • Posts: 88
Hi,

I have a Windows 7 application which shows a ToolButton with style "tbsDivider" in a ToolBar, i.e. a vertical line.

Compiling the same application in a virtual machine (i.e. the same source code) with gtk2 in Linux, no vertical line is shown, only space. Even all my GroupBoxes are invisible (seems like they all have border 0).

What am I doing wrong?


stem

howardpc

  • Hero Member
  • *****
  • Posts: 4144
The LCL does its best to ensure that the behaviour of controls is identical across supported platforms. It does not try to make them appear the same across platforms. Indeed, it prefers to use native widgets for all basic controls, so you get the native OS look, and the user's theme.

If you want controls to look identical on all platforms, you have to use custom-drawn LCL controls or go for a solution such as fpGUI or mseGUI.

stem

  • Jr. Member
  • **
  • Posts: 88
I've switched the theme in "Linux Mint 17 Xfce" from "Mint-X" to "Clearlooks" and I can see the borders now.  :)

stem

 

TinyPortal © 2005-2018