After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765742 - GtkRedioButton and GtkCheckButton doesn't aligned right to left language
GtkRedioButton and GtkCheckButton doesn't aligned right to left language
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
3.21.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-04-28 18:59 UTC by Muhannad ALrusayni
Modified: 2016-04-29 03:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screanshot that describe the bug (265.65 KB, image/png)
2016-04-28 18:59 UTC, Muhannad ALrusayni
Details

Description Muhannad ALrusayni 2016-04-28 18:59:52 UTC
Created attachment 326961 [details]
screanshot that describe the bug

Hi, I started translating po files for nautilus gnome 3.20 and I got bug in GtkRedioButton and GtkCheckButton (maybe there is more) they don't aligned right to left when I use Right-To-Left language (Arabic in my case) .

the strange thing that GtkLabel Works fine with Right-To-Left language .

can anyone help me get out of this bug , I added screanshot that describe the bug more clearly.

Regards
Muhannad
Comment 1 Matthias Clasen 2016-04-29 00:16:07 UTC
There is two problems here, that are both related to the box gadget conversion:

1. We reverse children of the box gadget in rtl, but we neglected to flip the halign

2. The box gadget has the same misbehavior as GtkGrid when it comes to (non-)expanding children: If there are none, it just leaves empty space instead of distributing the space across all children.
Comment 2 Matthias Clasen 2016-04-29 02:00:44 UTC
Pushed some fixes that should address this.