Different looking of wxChoice
Different looking of wxChoice
I met an issue of weird alignment of text in wxChoice. It is OK on most platforms(Windows 10, Ubuntu 19.10, Fedora 31) . However, the alignment looks wrong on Magiea 7.1(GTK3+, wxWidgets 3.1.X).
- Attachments
-
- Magiea 7.1 GTK3+ wxWidgets 3.1.X
- Magiea 7.1.png (10.47 KiB) Viewed 64065 times
-
- Magiea 6 GTK3+ wxWidgets 3.0.4
- Magiea 6.png (8.1 KiB) Viewed 64065 times
-
- Fedora 31 GTK3+ wxWidgets 3.1.3
- Fedora 31.png (10.99 KiB) Viewed 64065 times
Re: Different looking of wxChoice
Magiea 7.1 build with wxWidgets 3.0.4 has the same issue. Any clue of the issue?
- Attachments
-
- Magiea 7.1 wxWidgets 3.0.4.png (11.52 KiB) Viewed 64064 times
Re: Different looking of wxChoice
Ubuntu
- Attachments
-
- ubuntu 19.10.png (12.18 KiB) Viewed 64064 times
Re: Different looking of wxChoice
It seemed that I would have to end up with replacing it with wxComboBox.
Re: Different looking of wxChoice
There has been some recent bug fixes in sizing some controls under GTK+3. Download the last code directly from "git" and recompile wx.
Re: Different looking of wxChoice
Tried with today's snapshot of wxWidgets. The issue is still there.
- Attachments
-
- Mageia 7.1 Mandriva GTK+3 wxWidgets master.png (14.69 KiB) Viewed 64005 times
-
- wxWidgets-master.png (15.03 KiB) Viewed 64005 times
Re: Different looking of wxChoice
Hi,
Are you using any theme?
What WM do you have?
Thank you.
Are you using any theme?
What WM do you have?
Thank you.
Re: Different looking of wxChoice
The issue only happened on Mageia 7.1(based on Mandriva Linux). Ubuntu 19.10/Fedora 31 are both OK.
I'm not sure the theme used. I just installed required libs for building my app while all other things are default.
I'm not sure the theme used. I just installed required libs for building my app while all other things are default.
Re: Different looking of wxChoice
Hi,
Does it uses K, GNOME, MATE, etc.?
Thank you.
Does it uses K, GNOME, MATE, etc.?
Thank you.
Re: Different looking of wxChoice
It uses K.
Re: Different looking of wxChoice
Hi,
What is your GTK version?
It would be nice to know if any theming is involved.
Does other OSes you tried also uses K?
Thank you.
What is your GTK version?
It would be nice to know if any theming is involved.
Does other OSes you tried also uses K?
Thank you.
Re: Different looking of wxChoice
Others(FC31 and Ubuntu 19.10) used Gnome as default desktop manager. Magiea 7.1 uses K and the GTK version is 3.24.8.
Re: Different looking of wxChoice
Hi,
My guess would be that something inside Magea default theme is not right.
Can you install any GTK+ application and see if you have the same issue?
Or try to compile widgets sample and see if it works for you?
Thank you.
My guess would be that something inside Magea default theme is not right.
Can you install any GTK+ application and see if you have the same issue?
Or try to compile widgets sample and see if it works for you?
Thank you.
Re: Different looking of wxChoice
I will try the sample of wxWidgets. It's hard to tell a Choice from a readonly comobox on an app. And I'd changed from wxChoice to wxCombo in my code.
Re: Different looking of wxChoice
The sample looks OK. I've no idea now. It should related to the sizer setting.
- Attachments
-
- Mageia Linux 7.1 64-bit - Font.png (56.59 KiB) Viewed 63848 times