mirror of https://github.com/buggins/dlangui.git
HDPI improvements
This commit is contained in:
parent
8ddabea309
commit
bbcf3f61fa
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
|
@ -308,15 +308,15 @@ OB fontSize="10pt"
|
||||||
|
|
||||||
<style id="EDIT_LINE"
|
<style id="EDIT_LINE"
|
||||||
backgroundImageId="editbox_background"
|
backgroundImageId="editbox_background"
|
||||||
padding="4,4,4,4"
|
padding="3pt,3pt,3pt,3pt"
|
||||||
margins="2,2,2,2"
|
margins="1pt,1pt,1pt,1pt"
|
||||||
minWidth="40"
|
minWidth="40"
|
||||||
/>
|
/>
|
||||||
<style id="EDIT_BOX"
|
<style id="EDIT_BOX"
|
||||||
fontFace="Menlo,Consolas,DejaVuSansMono,Lucida Sans Typewriter,Courier New,Lucida Console"
|
fontFace="Menlo,Consolas,DejaVuSansMono,Lucida Sans Typewriter,Courier New,Lucida Console"
|
||||||
backgroundImageId="editbox_background"
|
backgroundImageId="editbox_background"
|
||||||
padding="2,2,2,2"
|
padding="2pt,2pt,2pt,2pt"
|
||||||
margins="2,2,2,2"
|
margins="2pt,2pt,2pt,2pt"
|
||||||
minWidth="100"
|
minWidth="100"
|
||||||
minHeight="60"
|
minHeight="60"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
|
@ -327,8 +327,8 @@ OB fontSize="10pt"
|
||||||
fontSize="9pt"
|
fontSize="9pt"
|
||||||
fontFamily="MonoSpace"
|
fontFamily="MonoSpace"
|
||||||
backgroundImageId="editbox_background"
|
backgroundImageId="editbox_background"
|
||||||
padding="2,2,2,2"
|
padding="2pt,2pt,2pt,2pt"
|
||||||
margins="2,2,2,2"
|
margins="2pt,2pt,2pt,2pt"
|
||||||
minWidth="100"
|
minWidth="100"
|
||||||
minHeight="60"
|
minHeight="60"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
|
@ -336,16 +336,16 @@ OB fontSize="10pt"
|
||||||
/>
|
/>
|
||||||
<style id="LIST_BOX"
|
<style id="LIST_BOX"
|
||||||
backgroundImageId="editbox_background"
|
backgroundImageId="editbox_background"
|
||||||
padding="2,2,2,2"
|
padding="2pt,2pt,2pt,2pt"
|
||||||
margins="2,2,2,2"
|
margins="2pt,2pt,2pt,2pt"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
layoutHeight="FILL_PARENT"
|
layoutHeight="FILL_PARENT"
|
||||||
/>
|
/>
|
||||||
<style id="EDIT_BOX_NO_FRAME"
|
<style id="EDIT_BOX_NO_FRAME"
|
||||||
fontFace="Menlo,Consolas,DejaVuSansMono,Lucida Sans Typewriter,Courier New,Lucida Console"
|
fontFace="Menlo,Consolas,DejaVuSansMono,Lucida Sans Typewriter,Courier New,Lucida Console"
|
||||||
backgroundColor="#FFFFFF"
|
backgroundColor="#FFFFFF"
|
||||||
padding="2,2,2,2"
|
padding="2pt,2pt,2pt,2pt"
|
||||||
margins="2,2,2,2"
|
margins="2pt,2pt,2pt,2pt"
|
||||||
minWidth="100"
|
minWidth="100"
|
||||||
minHeight="60"
|
minHeight="60"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
|
@ -353,8 +353,8 @@ OB fontSize="10pt"
|
||||||
/>
|
/>
|
||||||
<style id="STRING_GRID"
|
<style id="STRING_GRID"
|
||||||
backgroundImageId="editbox_background"
|
backgroundImageId="editbox_background"
|
||||||
padding="2,2,2,2"
|
padding="2pt,2pt,2pt,2pt"
|
||||||
margins="2,2,2,2"
|
margins="2pt,2pt,2pt,2pt"
|
||||||
minWidth="100"
|
minWidth="100"
|
||||||
minHeight="60"
|
minHeight="60"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
|
@ -362,8 +362,8 @@ OB fontSize="10pt"
|
||||||
/>
|
/>
|
||||||
<style id="FILE_DIALOG_GRID"
|
<style id="FILE_DIALOG_GRID"
|
||||||
backgroundImageId="editbox_background"
|
backgroundImageId="editbox_background"
|
||||||
padding="2,2,2,2"
|
padding="2pt,2pt,2pt,2pt"
|
||||||
margins="2,2,2,2"
|
margins="2pt,2pt,2pt,2pt"
|
||||||
minWidth="100"
|
minWidth="100"
|
||||||
minHeight="60"
|
minHeight="60"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
|
@ -373,20 +373,20 @@ OB fontSize="10pt"
|
||||||
backgroundColor="#eceffa"
|
backgroundColor="#eceffa"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
layoutHeight="WRAP_CONTENT"
|
layoutHeight="WRAP_CONTENT"
|
||||||
padding="1,1,1,1"
|
padding="1pt,1pt,1pt,1pt"
|
||||||
layoutWeight="0"
|
layoutWeight="0"
|
||||||
/>
|
/>
|
||||||
<style id="DOCK_HOST"
|
<style id="DOCK_HOST"
|
||||||
backgroundColor="#eceffa"
|
backgroundColor="#eceffa"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
layoutHeight="FILL_PARENT"
|
layoutHeight="FILL_PARENT"
|
||||||
padding="2,2,2,2"
|
padding="2pt,2pt,2pt,2pt"
|
||||||
/>
|
/>
|
||||||
<style id="DOCK_HOST_BODY"
|
<style id="DOCK_HOST_BODY"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
layoutHeight="FILL_PARENT"
|
layoutHeight="FILL_PARENT"
|
||||||
padding="0,0,0,0"
|
padding="0,0,0,0"
|
||||||
margins="3,3,3,3"
|
margins="3pt,3pt,3pt,3pt"
|
||||||
/>
|
/>
|
||||||
<style id="DOCK_WINDOW"
|
<style id="DOCK_WINDOW"
|
||||||
backgroundImageId="dock_window_background"
|
backgroundImageId="dock_window_background"
|
||||||
|
@ -399,20 +399,20 @@ OB fontSize="10pt"
|
||||||
backgroundImageId="popup_window_background"
|
backgroundImageId="popup_window_background"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
layoutHeight="FILL_PARENT"
|
layoutHeight="FILL_PARENT"
|
||||||
padding="1,1,1,1"
|
padding="1pt,1pt,1pt,1pt"
|
||||||
margins="4,4,4,4"
|
margins="4pt,4pt,4pt,4pt"
|
||||||
/>
|
/>
|
||||||
<style id="DOCK_WINDOW_CAPTION"
|
<style id="DOCK_WINDOW_CAPTION"
|
||||||
backgroundImageId="dock_window_caption_background"
|
backgroundImageId="dock_window_caption_background"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
layoutHeight="WRAP_CONTENT"
|
layoutHeight="WRAP_CONTENT"
|
||||||
padding="1,1,1,1"
|
padding="1pt,1pt,1pt,1pt"
|
||||||
/>
|
/>
|
||||||
<style id="DOCK_WINDOW_CAPTION_LABEL"
|
<style id="DOCK_WINDOW_CAPTION_LABEL"
|
||||||
textColor="#000000"
|
textColor="#000000"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
layoutHeight="WRAP_CONTENT"
|
layoutHeight="WRAP_CONTENT"
|
||||||
padding="3,3,3,3"
|
padding="3pt,3pt,3pt,3pt"
|
||||||
align="Left|VCenter"
|
align="Left|VCenter"
|
||||||
/>
|
/>
|
||||||
<style id="DOCK_WINDOW_BODY"
|
<style id="DOCK_WINDOW_BODY"
|
||||||
|
@ -425,35 +425,35 @@ OB fontSize="10pt"
|
||||||
backgroundImageId="toolbar_host_background"
|
backgroundImageId="toolbar_host_background"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
layoutHeight="WRAP_CONTENT"
|
layoutHeight="WRAP_CONTENT"
|
||||||
padding="1,1,1,1"
|
padding="1pt,1pt,1pt,1pt"
|
||||||
/>
|
/>
|
||||||
<style id="TOOLTIP"
|
<style id="TOOLTIP"
|
||||||
backgroundImageId="tooltip_background"
|
backgroundImageId="tooltip_background"
|
||||||
layoutWidth="WRAP_CONTENT"
|
layoutWidth="WRAP_CONTENT"
|
||||||
layoutHeight="WRAP_CONTENT"
|
layoutHeight="WRAP_CONTENT"
|
||||||
margins="2,7,2,1"
|
margins="2pt,5pt,2pt,1pt"
|
||||||
padding="3,3,3,3"
|
padding="2pt,2pt,2pt,2pt"
|
||||||
textColor="#404040"
|
textColor="#404040"
|
||||||
/>
|
/>
|
||||||
<style id="TOOLBAR"
|
<style id="TOOLBAR"
|
||||||
backgroundImageId="toolbar_background"
|
backgroundImageId="toolbar_background"
|
||||||
layoutWidth="WRAP_CONTENT"
|
layoutWidth="WRAP_CONTENT"
|
||||||
layoutHeight="WRAP_CONTENT"
|
layoutHeight="WRAP_CONTENT"
|
||||||
margins="2,1,2,1"
|
margins="2pt,1pt,2pt,1pt"
|
||||||
/>
|
/>
|
||||||
<style id="TOOLBAR_BUTTON"
|
<style id="TOOLBAR_BUTTON"
|
||||||
backgroundImageId="toolbar_button_background"
|
backgroundImageId="toolbar_button_background"
|
||||||
align="Center"
|
align="Center"
|
||||||
margins="1,1,1,1"
|
margins="1pt,1pt,1pt,1pt"
|
||||||
padding="2,2,2,2"
|
padding="2pt,2pt,2pt,2pt"
|
||||||
>
|
>
|
||||||
<state state_enabled="false" alpha="160" backgroundImageId="toolbar_button_null"/>
|
<state state_enabled="false" alpha="160" backgroundImageId="toolbar_button_null"/>
|
||||||
</style>
|
</style>
|
||||||
<style id="TOOLBAR_CONTROL"
|
<style id="TOOLBAR_CONTROL"
|
||||||
backgroundImageId="toolbar_control_background"
|
backgroundImageId="toolbar_control_background"
|
||||||
align="Center"
|
align="Center"
|
||||||
margins="1,1,1,1"
|
margins="1pt,1pt,1pt,1pt"
|
||||||
padding="2,2,2,2"
|
padding="2pt,2pt,2pt,2pt"
|
||||||
>
|
>
|
||||||
<state state_enabled="false" alpha="160" backgroundImageId="@null"/>
|
<state state_enabled="false" alpha="160" backgroundImageId="@null"/>
|
||||||
</style>
|
</style>
|
||||||
|
@ -491,20 +491,20 @@ OB fontSize="10pt"
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style id="SETTINGS_TREE"
|
<style id="SETTINGS_TREE"
|
||||||
margins="8,8,8,8"
|
margins="5pt,5pt,5pt,5pt"
|
||||||
backgroundColor="#FFFFFF"
|
backgroundColor="#FFFFFF"
|
||||||
layoutWeight="3"
|
layoutWeight="3"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<style id="SETTINGS_PAGES"
|
<style id="SETTINGS_PAGES"
|
||||||
margins="0,8,8,8"
|
margins="0,8pt,8pt,8pt"
|
||||||
padding="4,4,4,4"
|
padding="4pt,4pt,4pt,4pt"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
layoutWeight="5"
|
layoutWeight="5"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<style id="SETTINGS_PAGE_TITLE"
|
<style id="SETTINGS_PAGE_TITLE"
|
||||||
margins="4,4,4,14"
|
margins="4pt,4pt,4pt,10pt"
|
||||||
fontSize="120%"
|
fontSize="120%"
|
||||||
layoutWeight="0"
|
layoutWeight="0"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
|
@ -513,8 +513,8 @@ OB fontSize="10pt"
|
||||||
<style id="RESIZER_VERTICAL"
|
<style id="RESIZER_VERTICAL"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
layoutHeight="WRAP_CONTENT"
|
layoutHeight="WRAP_CONTENT"
|
||||||
minHeight="7"
|
minHeight="7pt"
|
||||||
maxHeight="7"
|
maxHeight="7pt"
|
||||||
backgroundColor="#E0E0E0">
|
backgroundColor="#E0E0E0">
|
||||||
<state state_focused="true" backgroundColor="#40C0C000"/>
|
<state state_focused="true" backgroundColor="#40C0C000"/>
|
||||||
<state state_pressed="true" backgroundColor="#4080C000"/>
|
<state state_pressed="true" backgroundColor="#4080C000"/>
|
||||||
|
@ -524,8 +524,8 @@ OB fontSize="10pt"
|
||||||
<style id="RESIZER_HORIZONTAL"
|
<style id="RESIZER_HORIZONTAL"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
layoutHeight="WRAP_CONTENT"
|
layoutHeight="WRAP_CONTENT"
|
||||||
minWidth="7"
|
minWidth="7pt"
|
||||||
maxWidth="7"
|
maxWidth="7pt"
|
||||||
backgroundColor="#E0E0E0">
|
backgroundColor="#E0E0E0">
|
||||||
<state state_focused="true" backgroundColor="#40C0C000"/>
|
<state state_focused="true" backgroundColor="#40C0C000"/>
|
||||||
<state state_pressed="true" backgroundColor="#4080C000"/>
|
<state state_pressed="true" backgroundColor="#4080C000"/>
|
||||||
|
|
|
@ -133,6 +133,8 @@ res/hdpi/hdpi_switch_on.png
|
||||||
res/hdpi/hdpi_switch_on_disabled.png
|
res/hdpi/hdpi_switch_on_disabled.png
|
||||||
res/hdpi/hdpi_scrollbar_indicator_horizontal.png
|
res/hdpi/hdpi_scrollbar_indicator_horizontal.png
|
||||||
res/hdpi/hdpi_scrollbar_indicator_vertical.png
|
res/hdpi/hdpi_scrollbar_indicator_vertical.png
|
||||||
|
res/hdpi/hdpi_find_case_sensitive.png
|
||||||
|
res/hdpi/hdpi_find_whole_words.png
|
||||||
res/mdpi/applications-internet.png
|
res/mdpi/applications-internet.png
|
||||||
res/mdpi/arrow_right_down_black.png
|
res/mdpi/arrow_right_down_black.png
|
||||||
res/mdpi/arrow_right_down_black_dark.png
|
res/mdpi/arrow_right_down_black_dark.png
|
||||||
|
|
Loading…
Reference in New Issue