David Kettler <[email protected]> writes: > "John J. Foerch" <[email protected]> writes:
> BTW, I noticed that the text baselines do not appear to be correctly > aligned after all, regardless of font. That's easy to fix by specifying the alignment; patch to follow. It's also independent of this change to the panel; currently the minibuffer label and input areas are not aligned. >> I agree that right justifying is a bad idea. What I would like to look >> into though is positioning by use of the flex attribute. I have >> experimented a bit with finding a good flex value, and I'm seeing >> something I can't fully explain: need for very large flex values on the >> url panel. I'm puzzled as to how to achieve this; I don't think it can be done directly with flex. As far as I can tell the content of the textbox has no influence on its size (unlike, say, a label); a default size is chosen (or set) and the flex modifies that. I thought of programmatically setting the size of the minibuffer-input as its content increases, but there doesn't seem to be any way to get the width of the content. Examples of javascript I found on the net to calculate the width of a string do filthy things like rendering to an invisible, off screen div and getting the width of that. Regards, David _______________________________________________ Conkeror mailing list [email protected] https://www.mozdev.org/mailman/listinfo/conkeror
