-
Notifications
You must be signed in to change notification settings - Fork 838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
单击 Combo 控件,程序崩溃 #46
Comments
找到原因了,在 global.xml 里添加一个 我用的是 vs2019,不知道为什么 ASSERT 不提示对话框。 |
应该不是 vs2019 ASSERT 不显示对话框的问题。ASSERT 的对话框还没来得及显示,程序就崩溃了。 |
@caop3ng 这个问题是需要改正的,尽量不在核心代码中出现常量的颜色值,感谢您的反馈。 |
@nmgwddj 默认的 global.xml 里没有 combobox_border 色值。 |
- Added combo and single line text control sample to `controls` project. - Modified RichEdit.md to remove duplicate attributes. Signed-off-by: jiajia_deng <[email protected]>
- Added combo and single line text control sample to `controls` project. - Modified RichEdit.md to remove duplicate attributes. Signed-off-by: jiajia_deng <[email protected]>
问题现象
重现步骤
在例子 controls 工程 controls.xml 里添加一个 Combo 代码,如下:
<!-- Option --> <VBox> <Option class="circle_option_2" group="option_group" text="option1" margin="0,3,0,10" selected="true"/> <Option class="circle_option_2" group="option_group" text="option2" margin="0,3,0,10"/> <Option class="circle_option_2" group="option_group" text="option3" margin="0,3,0,10"/> </VBox> <!--我是添加的COMBO--> <HBox> <Combo height="30" bordersize="1" bordercolor="red"> <ListContainerElement height="20" text="t1" /> <ListContainerElement height="20" text="t1" /> </Combo> </HBox> <!-- List --> <VListBox class="list" name="list" padding="5,3,5,3">
2.
点击 Combo 就会崩溃。
3.
在这里崩溃了
CPoint ptOldOrg = pRender->OffsetWindowOrg(ptOffset);
The text was updated successfully, but these errors were encountered: