Re: Setting a default text widget margin
Aric <aric.bills@xxxxxxxxx> wrote:
Could you accomplish your objective through grid padding or an empty
frame between the text widget and the scrollbar? Those would be
pretty easy to implement, and the user couldn't possibly delete
Not a bad thought, but, I'm using the Autoscroll package (so the
scrollbar isn't always going to be there).
Your suggestion has given me an excellent idea which I've used to
resolve it. A bit complicated to explain, but, the TclMacBag text
widget will have a -rmargin option in version 0.20 when it comes
- Re: Packing problems
... but the frame there are in is centered horizontally. ... pack your text widget absolutely last and you'll get better resize behavior. ... Many windows applications put both the scrollbar and text widget inside a common frame that is sunken. ... commands and then resize the window to be smaller, you'll see the effect I describe in the tclscripting.com article where the scrollbars disappear before the text widget shrinks. ...
- Re: Parse input file and create widgets
... > If you are typing it directly, then just enter the true widget ... The number of widgets in the bottom frame depends on the input file. ... (basic UI was created in SpecTCL and later I added some custom code to ... scrollbar $base.protocolscroll \ ...
- Re: different look of scrollbars between core tk and bwidget
... But on my system I see a small difference in that scrollbars of BWidget seem to be fatter than the ordinary ones. ... In the example below this is controlled by variable -ipad, its default is 1, but if you set it to 0, the scollbar along the bottom text widget looks very similar to that of the top text widget. ... that the bwidget extension uses core tk widgets as basic. ... is there a different look between the bwidget scrollbar and the core tk ...
- Re: Packing problems
... Many windows applications put both the scrollbar and text widget inside a common frame that is sunken. ... This is a Sun worksation running Solaris 10 under Sun's "Java Desktop System for Solaris". ...
- Scroll - what|where exactly wire widget and scrollbar?
... I'm studing about scroll comands and scrollbar widget. ... The set command seems just provide information. ... The y or xscrollcommand execute one command when view area of widget ...