[ wxwindows-Bugs-1541390 ] wx.StatusBar grip takes up extra space
when using controls
SourceForge.net
noreply at sourceforge.net
Wed Aug 16 08:54:59 PDT 2006
Bugs item #1541390, was opened at 2006-08-16 10:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1541390&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMSW specific
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Timothy Tucker (timtucker)
Assigned to: Nobody/Anonymous (nobody)
Summary: wx.StatusBar grip takes up extra space when using controls
Initial Comment:
I'm noticing that the if I have style wx.ST_SIZEGRIP
set on a wx.StatusBar, the grip seems to obscure more
of the last field than normal when the last field has a
control (or other wx.Window) in it rather than text.
As an example, run the StatusBar demo from the wxPython
demos and resize the window until the grip moves over
the rightmost field.
Next, change line 43 from:
self.SetStatusText(st, 2)
to:
self.SetStatusText(st, 1)
and change line 72 from:
rect = self.GetFieldRect(1)
to:
rect = self.GetFieldRect(2)
(basically just making sure that a field with a control
in it is the rightmost field)
Now run the demo and try resizing -- the grip now
covers an extra 17 pixels.
I've attached some partial screenshots that show the
problem.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1541390&group_id=9863
More information about the wx-dev
mailing list