GNOME Bugzilla – Bug 111605
aligning baselines when embedding buttons in text view
Last modified: 2015-03-08 13:55:47 UTC
It would be nice if it was possible to align the baselines of text in embedded buttons and surrounding text, otherwise it is not really possible to realize links with embedded buttons, since the baseline is jumping.
Created attachment 16011 [details] an example of the problem
While GtkTextView could theoretically check if the child was a button with a label, retrieve the layout for the label, etc, I think it basically depends on adding some sort of facilty for baselines to the GTK+ geometry system, as is mentioned in bug 104188. Probably just underlining the words and connecting to text tag events is the right way to do links currently.
lets just close this. embedding buttons in textviews is not that common...