Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: set field size issue
Browse files Browse the repository at this point in the history
bitbegin committed May 4, 2020
1 parent e20a7ba commit d10be0d
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 6 additions & 2 deletions modules/view/backends/gtk3/gui.reds
Original file line number Diff line number Diff line change
@@ -650,7 +650,7 @@ get-os-version: func [
ver/array1: micro << 16 or (minor << 8) or major
]

init: func [][
init: func [/local css [c-string!]][
get-os-version
gtk_disable_setlocale
gtk_init null null
@@ -661,7 +661,11 @@ init: func [][
set-defaults

#if type = 'exe [set-env-theme]
set-app-theme "box, button.text-button {min-width: 1px; min-height: 1px;}" yes
css: {
box, button.text-button {min-width: 1px; min-height: 1px;}
entry {margin: 0px; padding: 0px}
}
set-app-theme css yes
collector/register as int-ptr! :on-gc-mark
]

1 change: 0 additions & 1 deletion modules/view/backends/platform.red
Original file line number Diff line number Diff line change
@@ -747,7 +747,6 @@ system/view/platform: context [
check: [20x8 2x2]
radio: [20x8 2x2]
text: [3x3 0x0]
field: [3x3 0x0]
group-box: [0x8 4x18]
tab-panel: [0x0 39x0]
drop-list: [0x40 0x0]

0 comments on commit d10be0d

Please sign in to comment.