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 111605 - aligning baselines when embedding buttons in text view
aligning baselines when embedding buttons in text view
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
2.2.x
Other other
: Normal enhancement
: Small feature
Assigned To: gtk-bugs
gtk-bugs
Depends on: 101968 extended-layout
Blocks:
 
 
Reported: 2003-04-25 22:24 UTC by Matthias Clasen
Modified: 2015-03-08 13:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
an example of the problem (17.47 KB, image/png)
2003-04-25 22:24 UTC, Matthias Clasen
Details

Description Matthias Clasen 2003-04-25 22:24:21 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.
Comment 1 Matthias Clasen 2003-04-25 22:24:45 UTC
Created attachment 16011 [details]
an example of the problem
Comment 2 Owen Taylor 2003-06-05 13:54:48 UTC
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.
Comment 3 Matthias Clasen 2015-03-08 13:55:47 UTC
lets just close this. embedding buttons in textviews is not that common...