Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, So I ran a software in both KDE and Gnome respectively and it seems both of them have separate displays. By that I mean, one is displaying a part ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    2

    Label being displayed differently in KDE/Gnome

    Hi,

    So I ran a software in both KDE and Gnome respectively and it seems both of them have separate displays. By that I mean, one is displaying a part of the string(a Label) and the other is not displaying the string at all. I will include some relevant information such as the software uses SWT kit. Also the string is displayed perfect in Windows. If it's still not clear I will sum it up in a sentence. I am trying to display a label using SWT kit and, its being displayed correctly on Windows,partially correct on KDE(Half of the string) and not displayed on Gnome.

    I have tried GridDat.grabExcessHorizontalSpace=true, but it didn't. I have no idea how to approach the problem otherwise?

    Thanks.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Is this Windows software being run on Linux (via Wine)?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    2
    No the software has different versions for Windows and Linux respectively..but the code for GUI os the same( since SWT is "almost" platform independent)

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Ok. You are using the software widget toolkit for GTK2, correct? Well, that's about as much as I know! Sorry, but I am clueless here. Most GUI programming I do is either Xtk, Motif, or Qt. I haven't seen this problem with Qt.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...