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 726925 - GtkCellRendererText: xalign and yalign properties aren't read/saved to file
GtkCellRendererText: xalign and yalign properties aren't read/saved to file
Status: RESOLVED OBSOLETE
Product: glade
Classification: Applications
Component: general
3.16.x
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-23 16:19 UTC by Rafal
Modified: 2018-03-26 15:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
glade file which demonstrates xalign behavior on GtkCellRendererText (1.48 KB, application/xml)
2014-04-01 06:45 UTC, Rafal
Details

Description Rafal 2014-03-23 16:19:32 UTC
In the GtkCellRendererText control, the common properties "xalign" and "yalign" when set *manually* in glade (i.e. not set to read from model) aren't stored in xml file. These properties aren't also read from the xml.
Comment 1 Rafal 2014-04-01 06:45:12 UTC
Created attachment 273376 [details]
glade file which demonstrates xalign behavior on GtkCellRendererText

Sorry, the problem is quite different. Namely, the properties, in fact, ARE saved, except when the xalign/yalign value is 0.5. This is correct provided that the default values of the properties are 0.5. But, in fact, the xalign property default is 0.0, despite the documentation says that it is 0.5! This is the real problem.

See the glade file which demonstrates problem. Open it with glade. Currently the xalign property on GtkCellRendererText column is set to 0.49 and when you click "preview snapshot", you may see that the text is centered. Change the horizontal alignment property value to 0.50 and see the preview snapshot again. The text is aligned left! When you change the alignment to 0.51, text is centered again.
Comment 2 GNOME Infrastructure Team 2018-03-26 15:35:18 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glade/issues/151.