Bug 105607 - [GTK+ 3] Entry, ComboboxEntry, SpinEntry do not respect left and right padding
Summary: [GTK+ 3] Entry, ComboboxEntry, SpinEntry do not respect left and right padding
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gtk3-themeing
  Show dependency treegraph
 
Reported: 2017-01-30 08:08 UTC by Trinh Anh Ngoc
Modified: 2020-04-25 20:47 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sidebar (33.42 KB, image/png)
2017-01-30 08:09 UTC, Trinh Anh Ngoc
Details
Option dialog (69.52 KB, image/png)
2017-01-30 08:10 UTC, Trinh Anh Ngoc
Details
Screenshot from master (3.53 KB, image/png)
2017-01-30 12:04 UTC, Heiko Tietze
Details
gtk3-widget-factory with entry padding 24px (853.92 KB, image/png)
2017-01-31 02:33 UTC, Trinh Anh Ngoc
Details
libreoffice with entry padding 24px (68.67 KB, image/png)
2017-01-31 02:34 UTC, Trinh Anh Ngoc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Trinh Anh Ngoc 2017-01-30 08:08:27 UTC
These widgets lack left and right padding and thus contents touch left and right widget border.
Comment 1 Trinh Anh Ngoc 2017-01-30 08:09:56 UTC
Created attachment 130758 [details]
Sidebar
Comment 2 Trinh Anh Ngoc 2017-01-30 08:10:27 UTC
Created attachment 130759 [details]
Option dialog
Comment 3 Trinh Anh Ngoc 2017-01-30 08:12:03 UTC
In the attached screenshots, green box is widget has good padding, red box is widget has no padding
Comment 4 Heiko Tietze 2017-01-30 12:04:54 UTC
Created attachment 130765 [details]
Screenshot from master

Those properties belong to your system theme, you can only define margins to other controls. And actually it looks acceptable on Windows. NAB.
Comment 5 Trinh Anh Ngoc 2017-01-31 02:28:00 UTC
I believe this is a bug in VCL GTK+ 3.
Comment 6 Trinh Anh Ngoc 2017-01-31 02:33:01 UTC
Created attachment 130780 [details]
gtk3-widget-factory with entry padding 24px
Comment 7 Trinh Anh Ngoc 2017-01-31 02:34:01 UTC
Created attachment 130781 [details]
libreoffice with entry padding 24px
Comment 8 Trinh Anh Ngoc 2017-01-31 02:41:06 UTC
Tested on ArchLinux, Gtk+ 3.22. Entry padding is adjusted in $HOME/.config/gtk-3.0/gtk.css.
Comment 9 Adolfo Jayme Barrientos 2017-01-31 04:38:50 UTC
→ NEW
Comment 10 QA Administrators 2018-09-09 02:39:52 UTC Comment hidden (obsolete)
Comment 11 Caolán McNamara 2020-04-25 20:47:39 UTC
all screenshot comboboxes, entries and spinbuttons are all now native gtk widgets in master in the gtk backend, so now follow correct theming by definition