How to set initial size of TextView?
- From: Chris Green <cl isbd net>
- To: gtk-app-devel-list gnome org
- Subject: How to set initial size of TextView?
- Date: Tue, 14 Mar 2017 16:44:53 +0000
I have a top level window in which I have five or six TextView text
entry fields. I want to be able to set the fields to different sizes,
at least initially. E.g. I have a couple of TextView fields that I
want to be just two lines high, two which should be four lines high
and one that needs to be five lines.
How should one do this? I want this to work on different displays so
setting sizes of the widgets (or containing widgets) in pixels won't
work will it?
Is there no way to set a TextView's initial size to a specified number
of lines? They may well get put inside ScrolledWindow widgets but I
can't see a way to set the default initial size of those either.
--
Chris Green
ยท
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]