User Tag List

Results 1 to 1 of 1

Thread: Really squashed duplicated OK and Cancel buttons

  1. #1
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    32
    Level
    2
    vBActivity - Bars
    Lv. Percent
    20.33%

    Really squashed duplicated OK and Cancel buttons

    I'm seeing a second pair of (really squashed) OK and Cancel buttons at the very bottom of the ZPlayer Options window accessible via:

    Settings->Options->More Options

    Code:
    ZC Player, Version 2.55
    Nightly (Alpha 119/120)
    Build Date: 3rd February, 2024 at @ 07:17:57 EST
    Built By: UNSIGNED
    Tag: 2.55.0 Nightly (Alpha 119/120)

  2. #2
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    32
    Level
    2
    vBActivity - Bars
    Lv. Percent
    20.33%
    This window is created by call_zc_options_dlg() in zc_options.cpp

  3. #3
    Octorok Asuna Yuuki Nagato's Avatar
    Join Date
    Jan 2024
    Posts
    486
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    32
    Level
    2
    vBActivity - Bars
    Lv. Percent
    20.33%
    Commenting out this block at the bottom of ZCOptionsDialog::view() removes the squashed buttons:

    Code:
    /*,
    			Row(
    				topPadding = 0.5_em,
    				vAlign = 1.0,
    				spacing = 2_em,
    				Button(
    					text = "OK",
    					minwidth = 90_px,
    					onClick = message::OK),
    				Button(
    					text = "Cancel",
    					minwidth = 90_px,
    					onClick = message::CANCEL)
    			)*/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social