The ribbon function area width is not fully utilized to track logs.

Source: Internet
Author: User

 

Panel: reposition
<-Category: Obtain the width value of m_ncurrwidthindex in repospanels to call
M_ncurrwidthindex is basically set in category: recalclayout
Recalclayout is the entry to call repospanels.

Panel: m_arwidths
Set the value in panel: recalcwidths.
-> Panel: reposition function to modify m_nfullwidth
In the recalcwidths, each time the width of the rect is reduced, the reposition is called and then obtained.
Placed in m_arwidths
|
V
Tracking font panel width table panel: m_arwidths Modification
Modify the trace panel: m_nfullwidth in panel: reposition
It is found that the write impossible value is 260, and the font panel is only about 130px
Cause: the height of the reposition rectangle parameter is only 63px, while that of the three controls requires 64 pixels.
And found that the write 226px, the same reason, single don't know why the number is different
It is found that the data is written to 122px, and the normal Cy is 68.
<-Category: reposition called in repospanels
|
V
Modifies the position of the input value to 63px, which is caused by the function I wrote in mainframe.
The problem of insufficient width utilization is still unsolved.
Keep track of m_nfullwidth Modification
It is found that there are still function input height errors, 49px
It is not a parameter problem. The parameter height is 70px.
The height value is also reduced. Therefore, adding the input value to 85px is not solved.
Add to 88px and trace the modification of m_nfullwidth again
Problem Solving
Over

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.