Opened 11 years ago

Closed 11 years ago

#2543 closed bug (fixed)

BTextControl::ResizeToPreferred() Does not resize to propper size

Reported by: oruizdorantes Owned by: axeld
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

in kits/bluetooth/UI/PincodeWindow.cpp

The following code:

fPincodeText = new BTextControl(BRect(rect1.left, rect1.bottom + V_SEPARATION , 0, 0), "pincode TextControl","PIN code:", "", NULL);

fPincodeText->ResizeToPreferred();

Seems not to affect to the control

Change History (4)

comment:1 Changed 11 years ago by oruizdorantes

Resolution: duplicate
Status: newclosed

comment:2 Changed 11 years ago by anevilyak

Component: - GeneralKits/Interface Kit
Resolution: duplicate
Status: closedreopened

comment:3 Changed 11 years ago by axeld

Does this code work in BeOS? Looking at the code in BTextControl, it should work fine, though. Can you provide a minimal test program that reproduces the problem? There are some test apps in src/tests/servers/app that might provide you with a usable shell (like view_state).

comment:4 Changed 11 years ago by julun

Resolution: fixed
Status: reopenedclosed

Should be fixed as of hrev27330.

Note: See TracTickets for help on using tickets.