mirror of https://github.com/buggins/dlangui.git
fix StringGrid font: for DlangIDE issue 87
This commit is contained in:
parent
087baad535
commit
39e73e16d2
|
@ -1242,7 +1242,7 @@ class StringGridWidget : StringGridWidgetBase {
|
||||||
/// create with ID parameter
|
/// create with ID parameter
|
||||||
this(string ID) {
|
this(string ID) {
|
||||||
super(ID);
|
super(ID);
|
||||||
styleId = STYLE_EDIT_BOX;
|
styleId = STYLE_STRING_GRID;
|
||||||
onThemeChanged();
|
onThemeChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -107,6 +107,8 @@ immutable string STYLE_LIST_ITEM = "LIST_ITEM";
|
||||||
immutable string STYLE_EDIT_LINE = "EDIT_LINE";
|
immutable string STYLE_EDIT_LINE = "EDIT_LINE";
|
||||||
/// standard style id for EditBox
|
/// standard style id for EditBox
|
||||||
immutable string STYLE_EDIT_BOX = "EDIT_BOX";
|
immutable string STYLE_EDIT_BOX = "EDIT_BOX";
|
||||||
|
/// standard style id for StringGrid
|
||||||
|
immutable string STYLE_STRING_GRID = "STRING_GRID";
|
||||||
/// standard style id for background similar to transparent button
|
/// standard style id for background similar to transparent button
|
||||||
immutable string STYLE_TRANSPARENT_BUTTON_BACKGROUND = "TRANSPARENT_BUTTON_BACKGROUND";
|
immutable string STYLE_TRANSPARENT_BUTTON_BACKGROUND = "TRANSPARENT_BUTTON_BACKGROUND";
|
||||||
|
|
||||||
|
|
|
@ -296,6 +296,15 @@
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
layoutHeight="FILL_PARENT"
|
layoutHeight="FILL_PARENT"
|
||||||
/>
|
/>
|
||||||
|
<style id="STRING_GRID"
|
||||||
|
backgroundImageId="editbox_background"
|
||||||
|
padding="2,2,2,2"
|
||||||
|
margins="2,2,2,2"
|
||||||
|
minWidth="100"
|
||||||
|
minHeight="60"
|
||||||
|
layoutWidth="FILL_PARENT"
|
||||||
|
layoutHeight="FILL_PARENT"
|
||||||
|
/>
|
||||||
<style id="STATUS_LINE"
|
<style id="STATUS_LINE"
|
||||||
backgroundColor="#D0D0D0"
|
backgroundColor="#D0D0D0"
|
||||||
layoutWidth="FILL_PARENT"
|
layoutWidth="FILL_PARENT"
|
||||||
|
|
Loading…
Reference in New Issue