Quote:
Originally Posted by ondoho
in the example file you gave, i see no indication that width & height can be changed.
if you have reason to believe otherwise, please show us.
|
No, it doesn't show the ascii area size. That was the point of my question - how to change it. In case I wasn't clear, I was asking, not telling.
I surmised the ascii area is controlled by the hex area - it increases the # of ascii characters per line when you drag the window length and the hex area enlarges.
But it wasn't retaining the size, in spite of a pref: "Session.RememberWindowGeometry">True. Maybe a bug.
The DEFAULT.layout file seems to show 16 bytes per row for the hex area, but it *actually* opens at 18 chars, not 16 - not a biggie.
I can't find what controls the default UI opening width & height.
There's a Glade file that specifies sizes of various boxes. It controls other box sizes correctly, but not the overall main window size.
The question was, is enlarging the default size of the Hex area the best way to control the default opening UI size?
In the default layout file, only the bpr - bytes per row - are specified for the hex area.
**The dirty solution: They didn't make it easy. The Glade file controlled some default configuration, while the "bless-default.layout" file controlled others.
I think it was necessary to enter larger Main Window sizes under Glade, before making the width stored in a custom layout file.
Glade's orig. Bless main window size was 400 x 400. It observed that height, but something (I never found) was increasing the startup length - but not enough for my needs.
The ascii pane showed only 8 char - hard to find anything, that way.
So, increased Glade's "Main Window" length to 1100; width to 550.
I copied the contents of "bless-default.layout" to a user / custom layout file, in ~/.config/bless/layout/bless-24bpr.layout.
In the custom layout file, under the section, "<area type="hexadecimal">", I added the line, "<bpr>24</bpr>", which made the hex area 24 bytes / char wide, which automatically increased the width of aasci area to the same.
Again, for some reason, installing bless from a repo didn't create the sub dir, "layout," under ~/.config. Bless couldn't read custom layout files unless in that path.