Different looking of wxChoice
-
- Experienced Solver
- Posts: 53
- Joined: Mon Mar 13, 2017 8:27 am
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).
You do not have the required permissions to view the files attached to this post.
-
- Experienced Solver
- Posts: 53
- Joined: Mon Mar 13, 2017 8:27 am
Re: Different looking of wxChoice
Magiea 7.1 build with wxWidgets 3.0.4 has the same issue. Any clue of the issue?
You do not have the required permissions to view the files attached to this post.
-
- Experienced Solver
- Posts: 53
- Joined: Mon Mar 13, 2017 8:27 am
Re: Different looking of wxChoice
Ubuntu
You do not have the required permissions to view the files attached to this post.
-
- Experienced Solver
- Posts: 53
- Joined: Mon Mar 13, 2017 8:27 am
Re: Different looking of wxChoice
It seemed that I would have to end up with replacing it with wxComboBox.
-
- Can't get richer than this
- Posts: 828
- Joined: Mon Apr 30, 2012 11:07 pm
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.
-
- Experienced Solver
- Posts: 53
- Joined: Mon Mar 13, 2017 8:27 am
Re: Different looking of wxChoice
Tried with today's snapshot of wxWidgets. The issue is still there.
You do not have the required permissions to view the files attached to this post.
-
- Part Of The Furniture
- Posts: 7481
- Joined: Sat Apr 16, 2005 7:22 am
- Location: USA, Ukraine
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.
-
- Experienced Solver
- Posts: 53
- Joined: Mon Mar 13, 2017 8:27 am
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.
-
- Part Of The Furniture
- Posts: 7481
- Joined: Sat Apr 16, 2005 7:22 am
- Location: USA, Ukraine
Re: Different looking of wxChoice
Hi,
Does it uses K, GNOME, MATE, etc.?
Thank you.
Does it uses K, GNOME, MATE, etc.?
Thank you.
-
- Experienced Solver
- Posts: 53
- Joined: Mon Mar 13, 2017 8:27 am
Re: Different looking of wxChoice
It uses K.
-
- Part Of The Furniture
- Posts: 7481
- Joined: Sat Apr 16, 2005 7:22 am
- Location: USA, Ukraine
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.
-
- Experienced Solver
- Posts: 53
- Joined: Mon Mar 13, 2017 8:27 am
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.
-
- Part Of The Furniture
- Posts: 7481
- Joined: Sat Apr 16, 2005 7:22 am
- Location: USA, Ukraine
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.
-
- Experienced Solver
- Posts: 53
- Joined: Mon Mar 13, 2017 8:27 am
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.
-
- Experienced Solver
- Posts: 53
- Joined: Mon Mar 13, 2017 8:27 am
Re: Different looking of wxChoice
The sample looks OK. I've no idea now. It should related to the sizer setting.
You do not have the required permissions to view the files attached to this post.