The control is shift to right on the ToolBar of application

Discussions related to Visual Prolog
Vitaly Markov
VIP Member
Posts: 50
Joined: 30 Nov 2003 0:01

The control is shift to right on the ToolBar of application

Unread post by Vitaly Markov » 23 Dec 2019 16:31

Why it is that ListButton control is shift to right on the ToolBar of application. Why is it?
Visual Prolog 802 CE.
Image
Localization of ListButton control in editor of ToolBar is correct.

Harrison Pratt
VIP Member
Posts: 287
Joined: 5 Nov 2000 0:01

Re: The control is shift to right on the ToolBar of application

Unread post by Harrison Pratt » 23 Dec 2019 22:55

It behaves as expected for me using VP 802. Did you check the automatically generated controlList for spurious (? invisible) items?

I have a tiny suggestion for PDC: The automatically generated code for ProjectToolbar.pro needs the following:

Code: Select all

open core
so that the following code does not need manual inserted class specification for b_true when inserting a listbutton in the generated controlList:

Code: Select all

% tb_lbut(id_tb_1_2, 80, [], b_true, 0)   tb_lbut(id_tb_1_2, 80, [], core::b_true, 0)

Vitaly Markov
VIP Member
Posts: 50
Joined: 30 Nov 2003 0:01

Re: The control is shift to right on the ToolBar of application

Unread post by Vitaly Markov » 24 Dec 2019 18:54

ControlList do not contains spurious (invisible) items.
I think the problem is localized in VpiToolBar.pro on my computer and fixed in my project.
The detailed description and screen-shots is on forum http://www.hardforum.ru/t135856/
Thanks.

Post Reply