Tk Source Code

View Ticket
Login
Ticket UUID: 220879
Title: Can't set size of embedded window in a text widget in pixels
Type: RFE Version: None
Submitter: welch Created on: 2000-11-01 01:30:33
Subsystem: 18. [text] Assigned To: vincentdarley
Priority: 3 Low Severity:
Status: Open Last Modified: 2003-11-13 17:13:14
Resolution: None Closed By:
    Closed on:
Description:
OriginalBugID: 3457 RFE
Version: 8.0p2
SubmitDate: '1999-11-05'
LastModified: '2000-01-25'
Severity: MED
Status: UnAssn
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
OSVersion: 4.0


DesiredBehavior:
-width and -height options for windows embedded in a text widget (just
    like those available for windows embedded in a canvas).
User Comments: vincentdarley added on 2003-11-13 15:46:33:
Logged In: YES 
user_id=32170

Currently the width/height are the Tk_Req(Width|Height) of
the embedded window. If that's insufficient for someone's
purposes, then they ought to submit a patch/TIP to that
effect.  It's not on my to-do list.

dkf added on 2001-04-26 15:33:43:
Logged In: YES 
user_id=79902

I should add here that I think such a change (to add -height
and -width to [text] widget embedded windows in the same
manner as for [canvas] window items) would be a good thing
and would be very likely to receive support from me during
the TIPping stage.

dkf added on 2000-11-28 18:49:29:
You can work around this using a frame, not that that's a particularly pleasant solution though...