Recent

Author Topic: Comboboxes imperfect under linux  (Read 13971 times)

lainz

  • Guest
Re: Comboboxes imperfect under linux
« Reply #15 on: September 28, 2010, 10:51:58 pm »
Also imperfect under Windows: if you set a ComboBox ReadOnly = True the combobox have a white background or other color you select: must be transparent to see the skin for ReadOnly combobox in windows.

Did you perhaps mixed Enabled with ReadOnly property? The lower combo box on the image has Enabled set to false.

No. The lower combo box is Enabled set to false, the top set only to ReadOnly.

MikeFinch

  • Jr. Member
  • **
  • Posts: 70
Re: Comboboxes imperfect under linux
« Reply #16 on: July 30, 2012, 03:08:11 am »
12 months ago I requested help re comboboxes under linux. They just wouldn't format properly.

I was wondering if anyone has been able to improve the formatting of comboboxes (they work perfectly in Windows). The lazarus snapshots so far don't seem to have solved this problem.

Surely some people actually use comboboxes under their flavour of linux?

Another problem I have is forming columns of items in a memo box; only a single column on the lefthand border seems possible (unless this one has been solved by now?).

I wish to shift from Windows to linux, but since my linux software won't work perfectly (as stated above) I still can't do this. There seem no problems using Windows.

Regards
MikeFinch
It's now July 2012 -- Another 24 months have passed by and I still have the same problem! When this problem is fixed I can migrate to linux and abandon the Windows equivalent!

DOES ANYONE HAVE A SOLUTION PLEASE?

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Comboboxes imperfect under linux
« Reply #17 on: July 30, 2012, 06:53:42 am »
Yes. Read the previous posts and develop with Lazarus against Qt instead of GTK. Or run your code under Wine. Or create a patch and submit it to the Gtk developers so they can change Gtk combobox behaviour. Or use customdrawn components (if they are ready for this), or use MSEGUI, or use fpGUI.

IIUC, you're upset about different combobox behaviour on Gtk2 versus Windows, while the combobox itself works fine on Gtk2. Looking at the posts above, I don't think there's any chance tis will be changed.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

 

TinyPortal © 2005-2018