Right-align GUI-buttons

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review

Expand view Topic review: Right-align GUI-buttons

Right-align GUI-buttons

Post by StefOnSteroids » 04 May 2018, 14:09

An option to stack GUI-buttons from right to left.
At the moment they can only be stacked/ aligned from left to right. I know you can position them manually into the lower right, then make them redraw and re-calculate their position programmatically - thanks to helpful forum members who showed me how to do it - but still, this takes considerable extra code to pull it off and sometimes results in drawing glitches/ artifacts when resizing forms.

It would be so much easier if right-aligning were a built-in parameter when adding buttons to a form.
Imo, it just looks better when buttons (Retry, Cancel, OK) are located at the lower-right corner of a GUI, that's where the visual flow gravitates to and ends up at, after reading from top left to bottom right - where a decision has to be made. Most programs and Windows dialogs offer their buttons at this corner, and not stacked up to the left side.