https://bugs.documentfoundation.org/show_bug.cgi?id=167658
--- Comment #8 from Parth Raiyani <[email protected]> --- (In reply to Michael Weghorn from comment #4) > (In reply to V Stuart Foote from comment #3) > > What had been essentially a button bar with a ValueSet has now been spread > > out with "native GTK widget" onto a panel. Icons are fine but the panel > > needs to be constrained. > > For the record, this was changed in > > commit 4d6429c0368f9b2ec796dd8468defbee194a8b4c > Date: Thu Jul 17 14:52:51 2025 +0530 > > tdf#167536 Switch to IconView for presets and shadows in border > page > > , s.a. discussion in tdf#167536. (It looks fine with gtk3 with a native > GtkIconView, but not when the VCL variant of the icon view is used.) Thanks Michael :) Yes, it is working fine with gtk3 but not with VCL variant of icon view. I guess, it is due to how the VCL variant of icon view sets the width of each icons. As you can see in my first attachment the selected icon in shadow style->position is appearing much wider(horizontal area around the icon) than it should be. I have also tried to give explicit width to IconView in UI file but it doesn't seem to work. I'm not sure how the VCL variant sets the width of these icons. May be we need some rework there? or I'm not sure if there is already a way to set width for VCL variant and I'm not aware of it. Edit: Another solution I tried is setting up explicit height and width of IconView's parent ScrolledWindow which makes the borders appearing in a single horizontal line but it looks weird both in gtk3(i.e. Border in gtk3 when setting explicit width to ScrolledWindow.png) and in qt6 VCL(i.e. Border in VCL qt6 when setting explicit width to ScrolledWindow.png) Anyway, I believe the ideal way to solve this is reducing the horizontal spacing around the IconView in VCL qt6 but I'm not sure how we can do that. -- You are receiving this mail because: You are on the CC list for the bug.
