• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. How to implement maximise-button of "hiCreateLayoutForm...

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 2334
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to implement maximise-button of "hiCreateLayoutForm()"?

JanDL
JanDL over 3 years ago

Hi,

recently I was creating some GUI-windows for Virtuoso (ICADVM20.1-64b.500.19) using hiCreateLayoutForm() skill function. Unfortunately, the maximise-button (second button from right at the top-bar; marked in green in picture below) of windows created with this command is not working for me. Here is an example code:

MyForm=hiCreateLayoutForm(
  'myLayoutForm
  "Example Layout Form"
  hiCreateVerticalBoxLayout(
    'myTopLayoutDefStruct
    ?items list( hiCreateOutputStringField(
        ?name 'myOutputStringField
        ?value "Hello Cadence Community!"
      ); hiCreateOutputStringField
    );list
    ?horiz_align 'center
    ?vert_align 'bottom
  );hiCreateVerticalBoxLayout
  ?sizePolicy 'expanding
  ?buttonLayout 'Close
);hiCreateLayoutForm
hiDisplayForm(MyForm)

Is it possible to get this button working (i.e. maximising the window to screen-size)?

Best regards,

Jan

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago

    Jan,

    That's a function of the window manager - it's not something that you need to code for. For me (KDE 4.14.8 Plasma on RHEL 7.6), the maximise works - although I get a huge form with the text in the bottom left. Not really sure what you're expecting or what happens when you say it is not working...

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • JanDL
    JanDL over 3 years ago in reply to Andrew Beckett

    Thanks Andrew for your feedback. That's a good hint and I contacted our IT-support to look into this more deeply. We're using RHEL 7.9 with XFCE 4.12. I'll give feedback here, when available from our side.

    Nevertheless, this behaviour can also be observed with built-in windows within Virtuoso like the "SKILL API-Finder". There, the maximise-button does not work as well. That's why I though I have to actively implement trigger/function of that button.

    Best regards,
    Jan

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to JanDL

    Hi Jan,

    The cdsFinder is not an "hi" form anyway, and the maximise does work for me with that (although strangely it doesn't actually "maximise" to full screen, but that's probably because a maximum size has been set which is smaller than the screen I'm using). It gets significantly larger and occupies most of the screen.

    Andrew 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information