purple-googlechat icon indicating copy to clipboard operation
purple-googlechat copied to clipboard

Modify Account Dialog: COMPASS Cookie Textbox: Not Aligned With Label

Open Zian opened this issue 3 months ago • 2 comments

The README shows that the textboxes in the "Modify Account" dialog should be aligned with their labels. For example, the textbox for the COMPASS cookie should be to the right of "COMPASS Cookie:"

Right now, the textboxes is aligned with "See https://github.com/EionRobb/purple-googlechat#Authentication for info on how to set this up".

Nothing appears to the right of "COMPASS Cookie:"

Image

Computer Information

General System Information:

  • libgooglechat.dll was downloaded from https://github.com/EionRobb/purple-googlechat/releases/tag/nightly-87905710bb81767aa480176e165d5a2c696fb32d.
  • Microsoft Windows Version 22H2 (OS Build 19045.6216)
  • Pidgin version 2.14.14 (libpurple 2.14.14)

Graphics:

  • Intel UHD Graphics 620
  • NVIDIA GeForce MX150
  • Hybrid graphics enabled

Monitors

Built-in Display:

  • Disabled
  • Lid is closed

Primary Display:

  • Located in center of the desk
  • Dell P2418D
  • Input Source: DP
  • Current: 2560x1440, 60hz
  • Maximum: 2560x1440, 60hz
  • DP Capability: DP 1.2
  • Windows Says:
    • Monitor #2
    • Scale and layout: 125%
    • Display resolution: 2560x1440
    • Display orientation: Landscape

Secondary Display:

  • Located to the right of the Primary Display
  • Asus VS229H
  • Input Source: HDMI
  • 1080p
  • 60Hz
  • Windows Says:
    • Monitor #1
    • Scale and layout: 100%
    • Display resolution: 1080x1920
    • Display orientation: Portrait (flipped)

Zian avatar Sep 01 '25 20:09 Zian

Sorry for the confusion there! I took the screenshot for the plugin website before realising that people who have installed the plugin through other means (eg through a package manager, or downloaded elsewhere) wouldn't know what those values need to contain.

Unfortunately there's not much control that a protocol plugin has on the layout of that screen. There's not a way to just have a text box describing a setting without having some type of value (checkbox, number, text, dropdown). So as a workaround for that I've jammed the info text into the label of the Compass Cookie, however the text and input is vertically centred on line 2-3 of the 4 lines of text, which gives that jarring unaligned look.

Happy to consider other options if you've got any ideas? I'm a bit stumped :)

EionRobb avatar Sep 02 '25 07:09 EionRobb

What if an additional textbox was added for a setting that is ignored?

Example:

See https://github.com/..... | ___textbox that is ignored ____
COMPASS Cookie              | ____textbox for the COMPASS cookie___
etc.

Zian avatar Sep 05 '25 21:09 Zian