Re: Scrolling a GtkTreeview cell



You're right that it is possible to add a horizontal scroll bar.
I just don't have that option (design choice). Hence, my question was
centered about scrolling one cell.

This is for an embedded device with a 4.5" screen, a few navigation
buttons, and no mouse.

On Wed, Jan 24, 2018 at 11:15 AM, infirit <infirit gmail com> wrote:

Op 01/22/2018 om 12:03 PM schreef Kian Karas:
I have a GtkTreeview with size constraints, which causes the text of one
particular column in one particular row not to fit into its cell.

If I remember correctly a GtkTreeView is scrollable so it will add
scrollbars when it has grown larger than its parent widget/window.

Is there a way for the user to scroll the content of a specific cell
(i.e.
a specific column in the current highlighted row) - e.g. with the
keyboard
arrow keys, when the GtkTreeview has focus?

If I understand correctly you force the TreeView to be a specific size.
I would try to drop that limitation and force the size on the parent
instead and let the TreeView add scrollbars when needed.

~infirit

ps: attachments are not allowed




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]