~eliasnaur/gio#83: 
Disable scroll in editor text and unable to edit the text if it is set while creating layour.

Trying to create a table-like structure using editor text and labels. When editing the text the structure will be broken because of the horizontal scroller. If the layout width is fixed then the text will be hidden.

Also, the text is not editable if the text is set using setText() method at the time of layout creation.

What could be the best solution to create a table-like structure?

Status
REPORTED
Submitter
~kalmeshbhavi
Assigned to
No-one
Submitted
6 months ago
Updated
5 months ago
Labels
No labels applied.

~eliasnaur 6 months ago

On Fri Jan 24, 2020 at 05:51, ~kalmeshbhavi wrote:

Trying to create a table-like structure using editor text and labels. When editing the text the structure will be broken because of the horizontal scroller. If the layout width is fixed then the text will be hidden.

Also, the text is not editable if the text is set using setText() method at the time of layout creation.

What could be the best solution to create a table-like structure?

Can you create and link to a simple example that demonstrates this issue? Thank you.

~neutralinsomniac 5 months ago

Also, the text is not editable if the text is set using setText() method at the time of layout creation.

The solution I've implemented for this is to only update my state-based widgets (like Editor's) in a separate Refresh() function that is only called when something is changed in my UI (not on every layout call). Then my layout code just uses that global Editor.

Register here or Log in to comment, or comment via email.