https://bugs.kde.org/show_bug.cgi?id=460163
megan.con...@kdemail.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |ASSIGNED --- Comment #5 from megan.con...@kdemail.net --- (In reply to Stefan from comment #3) > Hi megan > > i am new to the code site of kde and looking for bugs, which seems to be > fixable by me as a beginner. > > created a fork with the attempt to fix this. > > https://invent.kde.org/hotzeplotz/ghostwriter/-/compare/master... > exportdialog-adjust-dropdown-size?from_project_id=12158 > > See Attachment "always full width" > https://bugs.kde.org/attachment.cgi?id=152723 > > Read https://develop.kde.org/hig/components/editing/dropdown/. But it's not > entirely clear to me what exactly the "design policy" is for such a > pulldown. The image shows that the width is longer than the values, but it > does not have a length of 100%. > > Alternatively, the length of the field could be adjusted dynamically with > `fileFormatComboBox->setSizeAdjustPolicy(QComboBox::AdjustToContents);` but > i guess this is not was the vdg want. > > See Attachment "adjust width on change" > https://bugs.kde.org/attachment.cgi?id=152722 > > After investigate a bit, i am confused. There are some pulldowns in other > projects dialogs with a width of 100%, but i could not found the call of > "setSize*" on such comboboxes … > > Would my attempt be a solution for this? Are you interested in a merge > request and could you help me with it? thanks. Hi Stephan, I think you're on the right track. I recall having to do something similar to the StatisticsIndicator class. Go ahead and put in the merge request, and I will test it on my end to confirm it's working, plus provide any feedback. Thanks for your help! -- You are receiving this mail because: You are watching all bug changes.