Observation of gtkDialog behavior.

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

Observation of gtkDialog behavior.

#1 Post by sunburnt »

I try to set a ListBox, TreeBox, or TableBox to a size so the scroll bars don`t show.
Adjust the width of the GUI and it`s size jumps back and forth the size of the vert. scroll.
This then triggers the hoz. scroll bar to appear also as the vert. scroll bar took up the space.
With plenty of space, make the width size 1 number smaller and the vert. scroll bar appears.
So some of the gtkDialog boxes will never give up the space needed for the vert. scroll bar.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#2 Post by technosaurus »

This behavior could be related to the gtk version and may differ from one major version to another.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#3 Post by sunburnt »

Hi technosaurus ; I didn`t bother to go back and try, but I seem to recall this years ago.
So it`s likely that gtkDialog2 and maybe gtkDialog1 have the same issue also.
The only possibility for a fix would be something like: <table no_vert_scroll>

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#4 Post by technosaurus »

sorry, I meant the actual gtk+ package not the gtkdialog version, have you tried it with gtk-2.18.X?
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#5 Post by sunburnt »

I hadn`t thought of that technosaurus, but for an app. like DriveMan it would complicate it?
I assume that any Puppy distro. using DriveMan would have to install gtk-2.18.X ? Dicey...

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#6 Post by technosaurus »

but may be yet another reason to jump to a higher version of gtk in base - there has been some discussion of additional functionality with later versions as well
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#7 Post by sunburnt »

My thoughts exactly. It should be interesting...

Post Reply