Jump to content

OK, Cancel button size


w64bit

Recommended Posts

:button { is_default=true; alignment=centered; fixed_width=true; width=12; label="Ok"; key="my_ok_button";}

 

key element is statement 'is_default=true

  • Like 1
Link to comment
Share on other sites

DCL has been in Acad since year dot so has hangovers from that period in that it has never changed and making a default button bigger may not be possible. You could make an IMAGE Button so size can be controlled. The other way may be to use Opendcl someone may respond if that's possible.

 

Rlx nice idea at least makes it a bit bigger.

Link to comment
Share on other sites

sometimes you dont want ok_cancel or ok_only but a button that says Exit , and then you could use code above, it also works for image_button.

Edited by rlx
Link to comment
Share on other sites

Thank you very much.

One more thing, please.

Is it possible to help me with hiding:

- "UnPlottable Layers" checkbox when the only unplottable layer is Defpoints;

- "Xrefs Layers" checkbox when are no xref layers (with |).

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...