After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779241 - build-preferences: give some spacing between entry border and text
build-preferences: give some spacing between entry border and text
Status: RESOLVED FIXED
Product: gnome-builder
Classification: Other
Component: preferences
3.23.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-02-26 02:35 UTC by Mohammed Sadiq
Modified: 2017-03-07 03:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Build preferences (image) (40.90 KB, image/png)
2017-02-26 02:35 UTC, Mohammed Sadiq
  Details
build-prefrences: give some spacing between entry borner and text (896 bytes, patch)
2017-03-02 23:59 UTC, Lucie Dvorakova
reviewed Details | Review
Fix of Build preferences (image) (44.09 KB, image/png)
2017-03-03 00:03 UTC, Lucie Dvorakova
  Details
Fix of Build preferences 2 (image) (20.39 KB, image/png)
2017-03-03 00:43 UTC, Lucie Dvorakova
  Details
build-prefrences: readjust the spacing between entry border and text (866 bytes, patch)
2017-03-03 09:12 UTC, Lucie Dvorakova
reviewed Details | Review
borders to shrink (4.17 KB, image/png)
2017-03-03 19:13 UTC, Christian Hergert
  Details
build-preferences: give some spacing between entry border and text (1.72 KB, patch)
2017-03-04 23:35 UTC, Lucie Dvorakova
none Details | Review
build-preferences: give some spacing between entry border and text (1.18 KB, patch)
2017-03-07 03:07 UTC, Christian Hergert
committed Details | Review

Description Mohammed Sadiq 2017-02-26 02:35:47 UTC
Created attachment 346732 [details]
Build preferences (image)

In Build preferences (Alt-,) Give some space b/w entry border and the filled in text below Environment variable settings.

Thanks
Comment 1 Lucie Dvorakova 2017-03-02 23:59:59 UTC
Created attachment 347107 [details] [review]
build-prefrences: give some spacing between entry borner and text

There was no padding between the border and the text input in Build Prefrences. To fix this problem the padding was changed from 0 to 10px.
Comment 2 Lucie Dvorakova 2017-03-03 00:03:44 UTC
Created attachment 347108 [details]
Fix of Build preferences (image)
Comment 3 Christian Hergert 2017-03-03 00:05:11 UTC
Review of attachment 347107 [details] [review]:

I think there is too much padding now in the row due to the additional size required in the entry.

Is there something we can do with border-shadow or outline that can allow us to add padding between the entry text and the border, but not increase the size of the row?
Comment 4 Lucie Dvorakova 2017-03-03 00:43:58 UTC
Created attachment 347111 [details]
Fix of Build preferences 2 (image)
Comment 5 Lucie Dvorakova 2017-03-03 00:45:48 UTC
Yes, I can do that. So the text stays in the same position, just the border moves. (see Fix of Build preferences 2)
Comment 6 Christian Hergert 2017-03-03 07:06:47 UTC
(In reply to Lucie Dvorakova from comment #5)
> Yes, I can do that. So the text stays in the same position, just the border
> moves. (see Fix of Build preferences 2)

Yeah that looks better
Comment 7 Lucie Dvorakova 2017-03-03 09:12:54 UTC
Created attachment 347118 [details] [review]
build-prefrences: readjust the spacing between entry border and text

Readjusted the padding so the row size stays the same
Comment 8 Christian Hergert 2017-03-03 19:13:56 UTC
Created attachment 347166 [details]
borders to shrink

Can you reduce the borders on the three sides with the red dots so that they match the left border?

That should help reduce the row height, and then we can apply this to the rest of preferences/configuration widgets.

Also, when posting new patches, remember to obsolete the previous patches (and upload a new "combined" patch if that is necessary). That allows me to more quickly review them without having to open up multiple files and merge them in my head :)
Comment 9 Lucie Dvorakova 2017-03-04 23:35:47 UTC
Created attachment 347240 [details] [review]
build-preferences: give some spacing between entry border and text

There was no padding between the border and the text input in Build Preferences. The border was moved to create the wanted space.
Comment 10 Christian Hergert 2017-03-07 03:07:12 UTC
Created attachment 347358 [details] [review]
build-preferences: give some spacing between entry border and text

There was no padding between the border and the text input in Build
Preferences. The border was moved to create the wanted space.
Comment 11 Christian Hergert 2017-03-07 03:08:06 UTC
(In reply to Lucie Dvorakova from comment #9)
> Created attachment 347240 [details] [review] [review]
> build-preferences: give some spacing between entry border and text
> 
> There was no padding between the border and the text input in Build
> Preferences. The border was moved to create the wanted space.

Looks good, I've updated the patch to apply to preferences as well as the configurationview.
Comment 12 Christian Hergert 2017-03-07 03:08:29 UTC
Attachment 347358 [details] pushed as 5f2ba22 - build-preferences: give some spacing between entry border and text